OpenAI-compatible

List models

GET
/api/v1/openai/models

The agents the key may chat with, as OpenAI's model list: each agent's id, with its exact name, workflow agents included. Either one works as model in chat completions. See OpenAI-compatible API.

apiKey
headerAuthorizationBearer <token>

An API key, sk-syn- and 32 characters. On SynapseOrch Cloud an owner or admin makes it under Settings → Developer; on a self-hosted install, under Settings → API Keys.

The agents, as models.

application/json
  1. response
object?string
data?array<>
curl -X GET "https://api.synapseorch.com/api/v1/openai/models" \  -H "Authorization: Bearer sk-syn-..."
{  "object": "list",  "data": [    {      "id": "agent_1726412345678",      "object": "model",      "created": 1726412345,      "owned_by": "synapse",      "name": "Support Bot",      "synapse": {        "type": "agent"      }    }  ]}