List AI agent conversations associated with a change request

Returns a paginated list of AI agent conversations that were created in the context of this change request. These conversations capture the AI-assisted editing sessions that contributed to the draft. Use this to review the history of AI interactions on a change request before merging.

Available in MCP
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequired

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
changeRequestIdstringRequired

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
Query parameters
pagestringOptional

Identifier of the page results to fetch.

limitnumber · max: 1000Optional

The number of results per page

Responses
200

A list of agent conversations

application/json
countnumberOptional

Total count of objects in the list

get/spaces/{spaceId}/change-requests/{changeRequestId}/conversations
GET /v1/spaces/{spaceId}/change-requests/{changeRequestId}/conversations HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

A list of agent conversations

{
  "next": {
    "page": "text"
  },
  "count": 1,
  "items": [
    {
      "object": "agent-conversation",
      "id": "text",
      "title": "text",
      "shared": true,
      "changeRequest": "text",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "updatedAt": "2026-01-01T00:00:00.000Z"
    }
  ]
}

Last updated

Was this helpful?

Powered by GitBook