Deciders

List deciders

Returns the deciders defined in a project, newest first.

get/v1/projects/{project_id}/deciders

Request

  • Base URL: https://api.naturali.ai
  • URL: https://api.naturali.ai/v1/projects/{project_id}/deciders
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)

Query parameters

limitinteger

Results per page, 1 to 100 (default 50). Above 100 it is clamped; below 1 or not an integer it is 400.

offsetinteger

Results to skip. Negative or not an integer it is 400.

Response

List of deciders

totalinteger required
limitinteger required
offsetinteger required

Example response

{
  "data": [
    {
      "id": "dcd_V1StGXR8Z5jdHi6B",
      "project_id": "proj_V1StGXR8Z5jdHi6B",
      "name": "support-triage",
      "agent_id": "agent_V1StGXR8Z5jdHi6B",
      "tool_id": "tool_V1StGXR8Z5jdHi6B",
      "version": 1,
      "questions": [
        {
          "type": "choice",
          "name": "department",
          "instructions": "Which department should handle this complaint?",
          "choices": [
            {
              "value": "billing",
              "description": "Payments, invoices and refunds."
            },
            {
              "value": "technical",
              "description": "Problems using the product."
            }
          ]
        },
        {
          "type": "predicate",
          "name": "needs_human",
          "instructions": "Must a person read this before any automated reply?"
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.