Skip to main content
POST
/
api
/
agents
/
{agentId}
/
sessions
Create session
curl --request POST \
  --url https://rippletide-backend.azurewebsites.net/api/agents/{agentId}/sessions \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "active"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "active",
  "startedAt": "2023-11-07T05:31:56Z",
  "endedAt": "2023-11-07T05:31:56Z"
}

Path Parameters

agentId
string<uuid>
required

Body

application/json
status
enum<string>
default:active
Available options:
active

Response

201 - application/json

Session created

id
string<uuid>
agentId
string<uuid>
status
enum<string>
Available options:
active,
ended
startedAt
string<date-time>
endedAt
string<date-time> | null