Get Docs agent instructions for an organization
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$Responses
200
OK
application/json
objectstring · enumRequiredPossible values:
updatedAtstring · date-timeRequired
updatedBystringRequired
Identifier of the member who last updated the instructions.
get/orgs/{organizationId}/agent-instructions
GET /v1/orgs/{organizationId}/agent-instructions HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
OK
{
"object": "agent-instructions",
"instructions": {
"object": "document",
"data": {},
"nodes": [
{
"object": "block",
"type": "paragraph",
"data": {},
"nodes": [
{
"object": "text",
"leaves": [
{
"object": "leaf",
"text": "Hello world",
"marks": []
}
]
}
]
}
]
},
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedBy": "text",
"urls": {
"location": "text"
}
}Last updated
Was this helpful?