CorfedoCorfedoDocs
ReferenceAPI referenceAI

Get AI Conversation

GET /api/v1/ai/conversations/{conversationId}. Request parameters and response schemas.

GET
/api/v1/ai/conversations/{conversationId}

Authorization

corfedoOAuth corfedo:ai:invoke
headerAuthorizationBearer <token>

Corfedo-issued bearer credential for the workspace's API resource, such as https://workspace.corfedo.example/api; the workspace host is the issuer. Public clients identify themselves with a Client ID Metadata Document URL and use PKCE S256; service clients use private_key_jwt. Browser cookies and MCP-resource credentials are not accepted.

Scope: corfedo:ai:invoke

Path Parameters

conversationId*string
Formatuuid

Query Parameters

limit?integer
Range1 <= value <= 50
Default20
beforeOrdinal?integer
Range2 <= value

Response Body

OK

application/json
  1. response
conversationId*string
Formatuuid
title*string
createdAt*string
Formatdate-time
lastActivityAt*string
Formatdate-time
running*boolean
messages*array<>
earlierBeforeOrdinal?|
Formatint32
Range-2147483648 <= value <= 2147483647
Example Request
curl -X GET 'https://example.com/api/v1/ai/conversations/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "conversationId": "ee6e55e8-45fe-4a3e-9bc8-4669f9fdf77a",  "title": "string",  "createdAt": "2019-08-24T14:15:22Z",  "lastActivityAt": "2019-08-24T14:15:22Z",  "running": true,  "messages": [    {      "messageId": "8540d774-4863-4d2b-b788-4ecb19412e85",      "clientMessageId": "6751c24a-b4eb-49b8-a2cb-e2427e57e61b",      "ordinal": -2147483648,      "text": "string",      "createdAt": "2019-08-24T14:15:22Z",      "profileId": "faebe71b-2bf8-4bdb-9b67-258e4d6aa00a",      "runs": [        {          "runId": "78c33d18-170c-44d3-a227-b3194f134f73",          "createdAt": "2019-08-24T14:15:22Z",          "completedAt": null,          "status": "queued",          "outcome": null,          "failureCategory": null,          "answer": null,          "citations": null,          "usage": null,          "sequence": "string"        }      ]    }  ],  "earlierBeforeOrdinal": null}