Get Thread
Read a Navigate or Act thread without starting work. Use owner credentials or the matching guest token. An ID alone grants no access.
GET
/
v3
/
threads
/
{threadId}
Get Thread
curl --request GET \
--url https://api.darwin.so/api/v3/threads/{threadId} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.darwin.so/api/v3/threads/{threadId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.darwin.so/api/v3/threads/{threadId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.darwin.so/api/v3/threads/{threadId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.darwin.so/api/v3/threads/{threadId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.darwin.so/api/v3/threads/{threadId}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.darwin.so/api/v3/threads/{threadId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"conversationId": "<string>",
"status": "planning",
"goal": "<string>",
"messages": [
{
"role": "user",
"text": "<string>",
"at": "2023-11-07T05:31:56Z"
}
],
"revisions": [
{
"revisionId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"searchId": "<string>",
"summary": "<string>",
"plan": {
"goal": "<string>",
"successCriteria": [
"<string>"
],
"steps": [
{
"stepId": "<string>",
"objective": "<string>",
"agentId": "<string>",
"operationId": "<string>",
"operationRevision": 123,
"alternativeAgentIds": [],
"dependsOn": [],
"evidenceRequired": "<string>",
"accessRequired": [],
"approvalRequired": true
}
],
"stoppingPoints": []
},
"agents": [
{
"agentId": "<string>",
"operationId": "<string>",
"operationRevision": 123,
"name": "<string>",
"description": "<string>",
"canStartThread": true,
"readiness": "ready",
"canAttemptThread": true
}
]
}
],
"latestRevisionId": "<string>",
"quote": {
"quoteId": "<string>",
"revisionId": "<string>",
"currency": "USD",
"totalBudgetMinor": 123,
"rateBps": 900,
"rateBasis": "<string>",
"maximumExecutionMinor": 4503599627370495,
"maximumFeeMinor": 4503599627370495,
"unallocatedMinor": 4503599627370495,
"createdAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"fundingStatus": "not_authorized",
"cancellationTerms": "<string>"
},
"funding": {
"fundingAuthorizationId": "<string>",
"quoteId": "<string>",
"revisionId": "<string>",
"totalBudgetMinor": 123,
"currency": "USD",
"status": "reserving",
"createdAt": "2023-11-07T05:31:56Z"
},
"run": {
"runId": "<string>",
"revisionId": "<string>",
"quoteId": "<string>",
"actingAiId": "<string>",
"status": "starting",
"startedAt": "2023-11-07T05:31:56Z",
"settlement": {
"currency": "USD",
"executionSpendMinor": 4503599627370495,
"outcomeFeeMinor": 4503599627370495,
"returnedMinor": 4503599627370495
},
"steps": [
{
"stepId": "<string>",
"agentId": "<string>",
"operationId": "<string>",
"operationRevision": 123,
"status": "pending",
"threadId": "<string>",
"errorCode": "<string>",
"actRequestId": "<string>",
"acceptedMessageId": "<string>",
"observation": {
"readStatus": "available",
"needsAttention": true,
"pendingRequestIds": [
"<string>"
],
"confirmedResultIds": [
"<string>"
]
}
}
]
},
"previousRuns": [],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"threadId": "<string>",
"conversation": {
"turns": [
{
"turnId": "<string>",
"clientMessageId": "<string>",
"message": "<string>",
"status": "queued",
"blocks": [
{
"type": "text",
"text": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"name": "<string>",
"mimeType": "<string>"
}
],
"contextSummary": [
"<string>"
],
"searchResult": {
"searchId": "<string>",
"responseId": "<string>",
"previousResponseId": "<string>",
"contractVersion": "search-v3.0",
"status": "completed",
"response": {
"agents": [
{
"agentId": "<string>",
"agentSlug": "<string>",
"operationId": "<string>",
"operationRevision": 123,
"providerFamilyRef": "<string>",
"rank": 123,
"selected": true,
"name": "<string>",
"description": "<string>",
"requiredSetup": {
"kind": "credential",
"suppliedBy": "user",
"description": "<string>"
},
"executionRequirements": {
"contractVersion": "1.0.0",
"providerAuthentication": {
"state": "REQUIRED",
"mechanisms": [
"BEARER"
],
"placements": [
"HEADER"
],
"scopes": [
"<string>"
],
"evidence": "PROVIDER_DECLARED"
},
"operationCredentials": {
"state": "REQUIRED",
"sensitiveInputNames": [
"<string>"
]
},
"runtime": {
"kind": "REMOTE_MCP",
"package": {
"ecosystem": "<string>",
"identifier": "<string>",
"version": "<string>",
"runtimeProfile": "<string>"
},
"requiredEnvironmentNames": [
"<string>"
]
},
"payment": {
"state": "REQUIRED",
"termsDigest": "<string>"
},
"browser": {
"state": "REQUIRED",
"sessionKind": "ANONYMOUS"
},
"providerContract": {
"route": "RESOLVED",
"inputSchema": "CONCRETE",
"outputSchema": "CONCRETE"
},
"providerBlockers": [
{
"code": "PROVIDER_ROUTE_UNSUPPORTED",
"owner": "PROVIDER"
}
],
"derivation": {
"normalizerVersion": "execution-requirements-v1",
"sourceRevision": "<string>",
"sourceReceiptDigest": "<string>",
"completeness": "COMPLETE",
"derivationKey": "<string>"
}
},
"executionGuidance": {
"credentialSummaryCode": "<string>",
"credentialSummary": "<string>",
"setupSummaryCode": "<string>",
"setupSummary": "<string>",
"recordBlockers": [
{
"code": "PROVIDER_ROUTE_UNSUPPORTED",
"owner": "PROVIDER"
}
],
"primaryBlockerCode": "PROVIDER_ROUTE_UNSUPPORTED",
"rendererVersion": "execution-guidance-v1"
},
"readiness": "ready",
"canStartThread": true,
"reasons": [
"<string>"
],
"uncertainties": [
"<string>"
],
"providerCheck": "not_attempted",
"connectionMethods": [],
"connectionPrompt": "<string>",
"imageUrl": "<string>",
"avatarUrl": "<string>",
"canAttemptThread": true,
"inquiry": {
"status": "contacting",
"question": "<string>",
"replies": [
{
"messageId": "<string>",
"text": "<string>",
"at": "2023-11-07T05:31:56Z"
}
],
"fit": "matches",
"expiresAt": "2023-11-07T05:31:56Z",
"threadId": "<string>",
"description": "<string>",
"reason": "<string>"
}
}
],
"relatedSearches": [],
"question": "<string>",
"noMatchReason": "<string>",
"assessment": {
"outcome": "strong",
"explanation": "<string>"
},
"plan": {
"steps": [
{
"stepId": "<string>",
"agentId": "<string>",
"operationId": "<string>",
"objective": "<string>",
"dependsOn": [
"<string>"
],
"alternatives": [
{
"agentId": "<string>",
"operationId": "<string>"
}
]
}
]
},
"overview": "<string>"
},
"searchToken": "<string>"
}
}
],
"nextBefore": "<string>",
"eventCursor": "<string>"
},
"conversationToken": "<string>"
}Authorizations
apiKeybearer
Headers
Guest Navigate thread token.
Path Parameters
Minimum string length:
1Query Parameters
Navigate turn pagination cursor.
Act event pagination cursor.
Act page size.
Required range:
1 <= x <= 100Response
Current thread state.
- Option 1
- Option 2
Pattern:
^asst_[a-f0-9-]{36}$Available options:
planning, ready, running, paused, completed, cancelled Show child attributes
Show child attributes
Maximum array length:
32Show child attributes
Show child attributes
Pattern:
^arev_[a-f0-9-]{36}$Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Maximum array length:
32Show child attributes
Show child attributes
Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Pattern:
^asst_[a-f0-9-]{36}$Show child attributes
Show child attributes
Private guest token. Send as X-Assist-Token for subsequent requests.
Last modified on November 1, 2026
⌘I
Get Thread
curl --request GET \
--url https://api.darwin.so/api/v3/threads/{threadId} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.darwin.so/api/v3/threads/{threadId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.darwin.so/api/v3/threads/{threadId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.darwin.so/api/v3/threads/{threadId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.darwin.so/api/v3/threads/{threadId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.darwin.so/api/v3/threads/{threadId}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.darwin.so/api/v3/threads/{threadId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"conversationId": "<string>",
"status": "planning",
"goal": "<string>",
"messages": [
{
"role": "user",
"text": "<string>",
"at": "2023-11-07T05:31:56Z"
}
],
"revisions": [
{
"revisionId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"searchId": "<string>",
"summary": "<string>",
"plan": {
"goal": "<string>",
"successCriteria": [
"<string>"
],
"steps": [
{
"stepId": "<string>",
"objective": "<string>",
"agentId": "<string>",
"operationId": "<string>",
"operationRevision": 123,
"alternativeAgentIds": [],
"dependsOn": [],
"evidenceRequired": "<string>",
"accessRequired": [],
"approvalRequired": true
}
],
"stoppingPoints": []
},
"agents": [
{
"agentId": "<string>",
"operationId": "<string>",
"operationRevision": 123,
"name": "<string>",
"description": "<string>",
"canStartThread": true,
"readiness": "ready",
"canAttemptThread": true
}
]
}
],
"latestRevisionId": "<string>",
"quote": {
"quoteId": "<string>",
"revisionId": "<string>",
"currency": "USD",
"totalBudgetMinor": 123,
"rateBps": 900,
"rateBasis": "<string>",
"maximumExecutionMinor": 4503599627370495,
"maximumFeeMinor": 4503599627370495,
"unallocatedMinor": 4503599627370495,
"createdAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"fundingStatus": "not_authorized",
"cancellationTerms": "<string>"
},
"funding": {
"fundingAuthorizationId": "<string>",
"quoteId": "<string>",
"revisionId": "<string>",
"totalBudgetMinor": 123,
"currency": "USD",
"status": "reserving",
"createdAt": "2023-11-07T05:31:56Z"
},
"run": {
"runId": "<string>",
"revisionId": "<string>",
"quoteId": "<string>",
"actingAiId": "<string>",
"status": "starting",
"startedAt": "2023-11-07T05:31:56Z",
"settlement": {
"currency": "USD",
"executionSpendMinor": 4503599627370495,
"outcomeFeeMinor": 4503599627370495,
"returnedMinor": 4503599627370495
},
"steps": [
{
"stepId": "<string>",
"agentId": "<string>",
"operationId": "<string>",
"operationRevision": 123,
"status": "pending",
"threadId": "<string>",
"errorCode": "<string>",
"actRequestId": "<string>",
"acceptedMessageId": "<string>",
"observation": {
"readStatus": "available",
"needsAttention": true,
"pendingRequestIds": [
"<string>"
],
"confirmedResultIds": [
"<string>"
]
}
}
]
},
"previousRuns": [],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"threadId": "<string>",
"conversation": {
"turns": [
{
"turnId": "<string>",
"clientMessageId": "<string>",
"message": "<string>",
"status": "queued",
"blocks": [
{
"type": "text",
"text": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"attachments": [
{
"name": "<string>",
"mimeType": "<string>"
}
],
"contextSummary": [
"<string>"
],
"searchResult": {
"searchId": "<string>",
"responseId": "<string>",
"previousResponseId": "<string>",
"contractVersion": "search-v3.0",
"status": "completed",
"response": {
"agents": [
{
"agentId": "<string>",
"agentSlug": "<string>",
"operationId": "<string>",
"operationRevision": 123,
"providerFamilyRef": "<string>",
"rank": 123,
"selected": true,
"name": "<string>",
"description": "<string>",
"requiredSetup": {
"kind": "credential",
"suppliedBy": "user",
"description": "<string>"
},
"executionRequirements": {
"contractVersion": "1.0.0",
"providerAuthentication": {
"state": "REQUIRED",
"mechanisms": [
"BEARER"
],
"placements": [
"HEADER"
],
"scopes": [
"<string>"
],
"evidence": "PROVIDER_DECLARED"
},
"operationCredentials": {
"state": "REQUIRED",
"sensitiveInputNames": [
"<string>"
]
},
"runtime": {
"kind": "REMOTE_MCP",
"package": {
"ecosystem": "<string>",
"identifier": "<string>",
"version": "<string>",
"runtimeProfile": "<string>"
},
"requiredEnvironmentNames": [
"<string>"
]
},
"payment": {
"state": "REQUIRED",
"termsDigest": "<string>"
},
"browser": {
"state": "REQUIRED",
"sessionKind": "ANONYMOUS"
},
"providerContract": {
"route": "RESOLVED",
"inputSchema": "CONCRETE",
"outputSchema": "CONCRETE"
},
"providerBlockers": [
{
"code": "PROVIDER_ROUTE_UNSUPPORTED",
"owner": "PROVIDER"
}
],
"derivation": {
"normalizerVersion": "execution-requirements-v1",
"sourceRevision": "<string>",
"sourceReceiptDigest": "<string>",
"completeness": "COMPLETE",
"derivationKey": "<string>"
}
},
"executionGuidance": {
"credentialSummaryCode": "<string>",
"credentialSummary": "<string>",
"setupSummaryCode": "<string>",
"setupSummary": "<string>",
"recordBlockers": [
{
"code": "PROVIDER_ROUTE_UNSUPPORTED",
"owner": "PROVIDER"
}
],
"primaryBlockerCode": "PROVIDER_ROUTE_UNSUPPORTED",
"rendererVersion": "execution-guidance-v1"
},
"readiness": "ready",
"canStartThread": true,
"reasons": [
"<string>"
],
"uncertainties": [
"<string>"
],
"providerCheck": "not_attempted",
"connectionMethods": [],
"connectionPrompt": "<string>",
"imageUrl": "<string>",
"avatarUrl": "<string>",
"canAttemptThread": true,
"inquiry": {
"status": "contacting",
"question": "<string>",
"replies": [
{
"messageId": "<string>",
"text": "<string>",
"at": "2023-11-07T05:31:56Z"
}
],
"fit": "matches",
"expiresAt": "2023-11-07T05:31:56Z",
"threadId": "<string>",
"description": "<string>",
"reason": "<string>"
}
}
],
"relatedSearches": [],
"question": "<string>",
"noMatchReason": "<string>",
"assessment": {
"outcome": "strong",
"explanation": "<string>"
},
"plan": {
"steps": [
{
"stepId": "<string>",
"agentId": "<string>",
"operationId": "<string>",
"objective": "<string>",
"dependsOn": [
"<string>"
],
"alternatives": [
{
"agentId": "<string>",
"operationId": "<string>"
}
]
}
]
},
"overview": "<string>"
},
"searchToken": "<string>"
}
}
],
"nextBefore": "<string>",
"eventCursor": "<string>"
},
"conversationToken": "<string>"
}