Skip to Content
SaaSFlow
DevelopersAPIReferenceagent_definitions

List agent definitions

List the agents that can be run for this company, each with a title and a description of what it does. The id here is the definitionId you pass when…

Authentication

Checking whether you're signed in…
GET
/companies/{companyId}/agent_definitions

Authorization

headerAuthorization<token>

A SaaSFlow API key (format sf_…) or an OAuth bearer token. Paste only the key — the proxy adds the Bearer prefix. Create an API key in Settings → Company settings → API keys — see API keys.

Path Parameters

companyId*string
Formatuuid

Response Body

Agent definitions that can be run.

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://api.saasflow.com/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/agent_definitions'
Example Response200
[  {    "id": "string",    "title": "string",    "description": "string"  }]