Groundeddocs
ReferenceAgents

One published version with its configuration

GET/v1/teams/{team}/agents/{agentId}/versions/{version}

Path Parameters

team*string

Team slug or ID

agentId*string
Formatuuid
version*integer
Formatint32
Range1 <= value

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/teams/string/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions/1"
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "version": 0,    "publishedAt": "2019-08-24T14:15:22Z",    "publishedBy": "cbfccdb4-87bb-4311-ae53-25484c11300e",    "publishedByName": "string",    "note": "string",    "chatModelId": "be51c0fa-7268-4cb1-a7cb-78cca4ed0c33",    "chatModelName": "string",    "effectiveRank": 0,    "classification": "string",    "knowledgeBases": [      {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "name": "string",        "topK": 0,        "inherited": true      }    ],    "config": {      "instructions": "string",      "chatModelId": "be51c0fa-7268-4cb1-a7cb-78cca4ed0c33",      "temperature": 0,      "maxOutputTokens": 1,      "reasoningEffort": "low",      "kbs": [        {          "kbId": "a6a9e4cd-2268-4a05-9203-ebd30485b88f",          "topK": 1        }      ],      "retrievalMode": "always",      "maxTurns": 1,      "contextTokenBudget": 500,      "filters": {        "sourceIds": [          "1142aa4e-ac22-46dd-ac6a-fc70d264bc91"        ],        "kinds": [          "pdf"        ],        "tags": [          "string"        ],        "urlPrefixes": [          "string"        ],        "updatedAfter": "2019-08-24T14:15:22Z",        "updatedBefore": "2019-08-24T14:15:22Z"      },      "minSimilarity": 0,      "strictlyGrounded": true,      "refusalMessage": "string",      "citationMode": "none",      "queryRewrite": true,      "moderation": {        "categories": {          "property1": {            "input": {              "action": "off",              "threshold": 0            },            "output": {              "action": "off",              "threshold": 0            }          },          "property2": {            "input": {              "action": "off",              "threshold": 0            },            "output": {              "action": "off",              "threshold": 0            }          }        },        "outputMode": "",        "severityBlock": 0      },      "audience": "team",      "systemOne": {        "judging": "",        "candidates": 1,        "citations": "",        "citationMode": "",        "scope": ""      }    }  }}