Agents
Run an agent
Changed onStart a new run for an agent.
Runs always execute the agent's live published version, so the agent must be published first with POST /v1/agents/{agent_id}/publish. Unpublished drafts cannot be run.
post/v1/agents/{agent_id}/runs
Request
- Base URLhttps://api.tryprofound.com
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScripthttps://skmtc.dev/cooper-square-technologies/apis/external-api/docs/v1/agents/:agent_id/runs/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
agent_idstring uuid required
The ID of the agent to run.
Request body
Response
Successful Response
Changes
- breaking
the request's body type changed from
objectto no type - warning
removed the request property
- info
added
subschema #2to the request bodyanyOflist - info
request body became optional
- breaking
- info
the endpoint scheme security
BearerAuthwas added to the API
- info