Sessions
Read one page of an outside app's runs
Paged exactly like GET /v1/agents/{id}/turns: newest page first, turns
oldest-first within a page, nextCursor for the next older page. Each turn
carries agentId (null) and source.
GET
/
v1
/
workspaces
/
{workspaceId}
/
outside-apps
/
{threadId}
/
runs
Read one page of an outside app's runs
curl --request GET \
--url https://api.lusor.ai/v1/workspaces/{workspaceId}/outside-apps/{threadId}/runs \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.lusor.ai/v1/workspaces/{workspaceId}/outside-apps/{threadId}/runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lusor.ai/v1/workspaces/{workspaceId}/outside-apps/{threadId}/runs"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"turns": [
{
"id": "<string>",
"sessionId": "<string>",
"prompt": "<string>",
"status": "<string>",
"deviceId": "<string>",
"summary": "<string>",
"recording": true,
"queued": true,
"createdAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source": {
"threadId": "<string>",
"kind": "app",
"label": "<string>",
"appId": "claude",
"keyId": "<string>"
}
}
],
"nextCursor": "<string>",
"hasMore": true,
"thread": {
"id": "<string>",
"label": "<string>",
"appId": "<string>"
}
}
}{
"error": "validation_error",
"details": {}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Authorizations
ApiKeyBearerAuth
Path Parameters
Query Parameters
Was this page helpful?
⌘I
Read one page of an outside app's runs
curl --request GET \
--url https://api.lusor.ai/v1/workspaces/{workspaceId}/outside-apps/{threadId}/runs \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.lusor.ai/v1/workspaces/{workspaceId}/outside-apps/{threadId}/runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lusor.ai/v1/workspaces/{workspaceId}/outside-apps/{threadId}/runs"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"turns": [
{
"id": "<string>",
"sessionId": "<string>",
"prompt": "<string>",
"status": "<string>",
"deviceId": "<string>",
"summary": "<string>",
"recording": true,
"queued": true,
"createdAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source": {
"threadId": "<string>",
"kind": "app",
"label": "<string>",
"appId": "claude",
"keyId": "<string>"
}
}
],
"nextCursor": "<string>",
"hasMore": true,
"thread": {
"id": "<string>",
"label": "<string>",
"appId": "<string>"
}
}
}{
"error": "validation_error",
"details": {}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}
