Error
A valid request URL is required to generate request examples{
"results": {
"createdAt": "2023-11-07T05:31:56Z",
"taggedAgentUuids": [
"<string>"
],
"instruction": "<string>",
"projectUuid": "<string>",
"routerUuid": "<string>",
"instructionVersionUuid": "<string>"
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}API Reference
Get AI router instruction
Get the active routing instruction for a project. Returns null when no instruction has been written for the project yet.
GET
/
api
/
v1
/
org
/
aiRouter
/
instructions
/
{projectUuid}
Error
A valid request URL is required to generate request examples{
"results": {
"createdAt": "2023-11-07T05:31:56Z",
"taggedAgentUuids": [
"<string>"
],
"instruction": "<string>",
"projectUuid": "<string>",
"routerUuid": "<string>",
"instructionVersionUuid": "<string>"
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}Path Parameters
Response
Success
Per-project routing instructions written by an admin. Versioned append-only
(like agent instructions): the latest version for a (router, project) pair is
the active one. instruction is free text where tagged agents are embedded as
@[Agent Name](agent-uuid) tokens; taggedAgentUuids is the extracted list,
kept alongside the text so references can be validated and orphans detected.
Show child attributes
Show child attributes
Available options:
ok Was this page helpful?