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

Authorization<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.

In: header

Path Parameters

companyId*string
Length1 <= length

Response Body

application/json

curl -X GET "https://example.com/companies/string/agent_definitions"
[  {    "id": "string",    "title": "string",    "description": "string"  }]