Conversations
Ingest knowledge for Conversations.
Last updated
Was this helpful?
Ingest knowledge for Conversations.
Last updated
Was this helpful?
Was this helpful?
The Conversations endpoints let you ingest, manage, and monitor Conversations in GitBook to be processed by Docs Agents.
The ID of the conversations issues cluster
The label of the conversations issues cluster
Name of the icon
gearThe summary of the conversations issues cluster
The weekly pulse of the conversations issues cluster for the past 3 months
The unique id of the organization
Identifier of the page results to fetch.
The number of results per page
An order for the items in the list
descPossible values: updatedAtPossible values: OK
Not Found
The unique id of the organization
Identifier of the page results to fetch.
The number of results per page
Filter conversations by their source identifier
OK
OK
The unique id of the organization
Identifier of the page results to fetch.
The number of results per page
Filter conversation issues by cluster identifier.
Filter conversation issues by conversation identifier.
OK
OK
Conversations ingested
No content
{
"object": "issues-cluster",
"id": "text",
"label": "text",
"createdAt": "2025-11-08T15:58:07.473Z",
"updatedAt": "2025-11-08T15:58:07.473Z",
"icon": "gear",
"summary": "text",
"weeklyPulse": [
1
],
"sources": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"stats": {
"issues": 1,
"conversations": 1
},
"urls": {
"location": "https://example.com"
}
}GET /v1/orgs/{organizationId}/conversations-clusters HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"next": {
"page": "text"
},
"count": 1,
"items": [
{
"object": "issues-cluster",
"id": "text",
"label": "text",
"createdAt": "2025-11-08T15:58:07.473Z",
"updatedAt": "2025-11-08T15:58:07.473Z",
"icon": "gear",
"summary": "text",
"weeklyPulse": [
1
],
"sources": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"stats": {
"issues": 1,
"conversations": 1
},
"urls": {
"location": "https://example.com"
}
}
]
}GET /v1/orgs/{organizationId}/conversations HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"next": {
"page": "text"
},
"count": 1,
"items": [
{
"object": "conversation",
"id": "text",
"subject": "text",
"createdAt": "2025-11-08T15:58:07.473Z",
"processedAt": "2025-11-08T15:58:07.473Z",
"source": "text",
"urls": {
"location": "https://example.com",
"source": "https://example.com"
}
}
]
}POST /v1/orgs/{organizationId}/conversations HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 200
{
"id": "text",
"metadata": {
"url": "text",
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"createdAt": "2025-11-08T15:58:07.473Z"
},
"subject": "text",
"parts": [
{
"type": "message",
"role": "user",
"body": "text"
}
]
}GET /v1/orgs/{organizationId}/conversations-issues HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"next": {
"page": "text"
},
"count": 1,
"items": [
{
"issue": {
"object": "conversation-issue",
"id": "text",
"title": "text",
"summary": "text",
"createdAt": "2025-11-08T15:58:07.473Z",
"ingestedAt": "2025-11-08T15:58:07.473Z",
"conversation": "text",
"cluster": "text",
"urls": {
"location": "https://example.com"
}
},
"conversation": {
"object": "conversation",
"id": "text",
"subject": "text",
"createdAt": "2025-11-08T15:58:07.473Z",
"processedAt": "2025-11-08T15:58:07.473Z",
"source": "text",
"urls": {
"location": "https://example.com",
"source": "https://example.com"
}
}
}
]
}GET /v1/orgs/{organizationId}/conversations-issues/{issueId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"issue": {
"object": "conversation-issue",
"id": "text",
"title": "text",
"summary": "text",
"createdAt": "2025-11-08T15:58:07.473Z",
"ingestedAt": "2025-11-08T15:58:07.473Z",
"conversation": "text",
"cluster": "text",
"urls": {
"location": "https://example.com"
}
},
"conversation": {
"object": "conversation",
"id": "text",
"subject": "text",
"createdAt": "2025-11-08T15:58:07.473Z",
"processedAt": "2025-11-08T15:58:07.473Z",
"source": "text",
"urls": {
"location": "https://example.com",
"source": "https://example.com"
}
}
}GET /v1/orgs/{organizationId}/conversations/{conversationId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"conversation": {
"object": "conversation",
"id": "text",
"subject": "text",
"createdAt": "2025-11-08T15:58:07.473Z",
"processedAt": "2025-11-08T15:58:07.473Z",
"source": "text",
"urls": {
"location": "https://example.com",
"source": "https://example.com"
}
},
"parts": [
{
"type": "message",
"role": "user",
"body": "text"
}
],
"metadata": {
"url": "text",
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"createdAt": "2025-11-08T15:58:07.473Z"
}
}