API ReferenceApi claw embed
Get embed session
API documentation for Get embed session
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication.
In: header
Path Parameters
sessionId*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://loading/api/v1/api/v1/embed/chat-sessions/string"{
"session": {
"id": "string",
"agentId": "string",
"spaceId": "string",
"title": "string",
"status": "pending",
"promptMode": "agent",
"createdAt": "string",
"updatedAt": "string",
"completedAt": "string"
},
"messages": [
{
"id": "string",
"role": "user",
"content": "string",
"parts": [
{}
],
"attachments": [
{
"storageKey": "string",
"url": "string",
"fileName": "string",
"mimeType": "string",
"sizeBytes": 0
}
],
"author": {
"id": "string",
"type": "string",
"displayName": "string",
"avatarUrl": "string"
},
"error": {},
"createdAt": "string"
}
]
}{
"defined": true,
"code": "BAD_REQUEST",
"status": 400,
"message": "Bad Request",
"data": {
"error": "string"
}
}{
"defined": true,
"code": "UNAUTHORIZED",
"status": 401,
"message": "Unauthorized",
"data": {
"error": "string"
}
}{
"defined": true,
"code": "FORBIDDEN",
"status": 403,
"message": "Forbidden",
"data": {
"error": "string"
}
}{
"defined": true,
"code": "NOT_FOUND",
"status": 404,
"message": "Not Found",
"data": {
"error": "string"
}
}