Conversations
Get conversation
GET
Returns a single conversation. Scoped to the conversation named by conversation_id.
header
AuthorizationBearer <esk_live_…>A workspace API key created in workspace settings. It acts as the member who created it, narrowed to its abilities, projects and credit limit. Each operation names the ability it needs.
Scope: chats:read
conversation_id*stringFormat
uuidEndless-Api-Version?stringPin the caller to an API major (1). Omit to accept the current version. A major this deployment cannot serve is refused with 400 unsupported_api_version.
OK
application/json- response
id*stringFormat
uuidorganization_id*stringcreated_by_id*stringtitle*string|nullvisibility*stringValue in
"private""workspace""public"workspace_role*stringValue in
"viewer""editor""manager""owner"project_id*|nullelement_id*|nullcanvas_id*|nullactive_leaf_id*|nullschedule_id*|nullgeneration_id*|nullforked_from_conversation_id*|nullmessage_count*integerRange
-2147483648 <= value <= 2147483647last_message_at*|nullactive_run_id*string|nullactive_run_at*|nullactive_workflow_run_id*string|nullmod_conversation_id*string|nulldeleted_at*|nulldeleted_by_id*string|nullcreated_at*stringFormat
date-timeupdated_at*stringFormat
date-timeshared*booleancan_edit*booleancan_delete*booleanothers_can_write*booleancanvas_ids*array<string>curl -X GET 'https://api.endless.app/conversations/0191e5a2-5f18-7d63-b016-8c4a9e2f7b51'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organization_id": "string", "created_by_id": "string", "title": "string", "visibility": "private", "workspace_role": "viewer", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "element_id": "98026c2a-b90c-4843-8adc-9992613765c9", "canvas_id": "b62c6beb-2de8-4ee5-ac63-068ebe40140b", "active_leaf_id": "c8d08496-126b-4d7c-ab5e-5d8539e8add1", "schedule_id": "8929bb67-0da1-406c-99d2-5447376a4f58", "generation_id": "a3c889df-e7ae-4ae9-9838-8884129ade5e", "forked_from_conversation_id": "9efa4a3e-b183-495f-84f7-6ee3978206a9", "message_count": -2147483648, "last_message_at": "2019-08-24T14:15:22Z", "active_run_id": "string", "active_run_at": "2019-08-24T14:15:22Z", "active_workflow_run_id": "string", "mod_conversation_id": "string", "deleted_at": "2019-08-24T14:15:22Z", "deleted_by_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "shared": true, "can_edit": true, "can_delete": true, "others_can_write": true, "canvas_ids": [ "string" ]}