API 参考
Restore an agent session
Restores a revoked agent session by ID, allowing it to request actions again.
POST
/v1/agent/sessions/{id}/restoreAuthorization
bearerAuth AuthorizationBearer <token>
Paste your API key from the dashboard.
In: header
Path Parameters
id*unknown
Agent session id.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/agent/sessions/{id}/restore"{
"id": "string",
"label": "string",
"created_at": "string",
"expires_at": "string",
"revoked_at": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}{
"statusCode": -9007199254740991,
"message": "string",
"error": "string"
}这篇文档怎么样?
最后更新