Skip to navigation

Get a custom behavior

Returns one custom behavior with its tags.

Authentication

AuthorizationBearer

Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.

Path parameters

idstringRequired
Custom behavior ID.

Response

The behavior.
tagslist of objects
Tags on the behavior.
has_write_accessboolean

Whether the caller can edit the behavior. Always true for an API key of the behavior's organization.

Errors

403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error