Get an agent
Changed onRetrieve an agent and its schema details.
Agents can have both a live published version and a draft version with newer unpublished changes. Use the version parameter to choose which state to return.
Request
- Base URLhttps://api.tryprofound.com
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The ID of the agent to retrieve.
Query parameters
Version selector for retrieving a specific agent.
Version of the agent to retrieve. Use published for the live version, or draft for the latest unpublished changes for the same agent. Defaults to published.
Response
Successful Response
Changes
- breaking
the response property
became optional for the status - breaking
the
response's property type changed fromobjectto no type for status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - info
added the optional property
to the response with the status - info
added
subschema #2to theresponse propertyanyOflist for the response status
- breaking
- info
the endpoint scheme security
BearerAuthwas added to the API
- info