Menu
Get Robot
Get robot metadata
GET
/v2025-07-11/access/{resourceType}/{resourceId}/robots/{robotId}Use it in a workflow
- Add a step and choose the Sanity connector.
- Pick the Get Robot action (under Access).
- Fill in the fields below, then reference the result from later steps as
{{getRobot.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getRobot.response.data.<field>}}.
{
"id": "string",
"label": "string",
"createdAt": "2025-01-01T00:00:00Z",
"memberships": [
{
"resourceType": "project",
"resourceId": "c7ja4siy",
"roleNames": [
"administrator",
"editor"
],
"addedAt": "2024-01-15T12:15:30Z",
"lastSeenAt": "2024-01-15T12:15:30Z",
"resourceUserId": "projectUserId123"
}
],
"tokenId": "string",
"expiresAt": "2025-01-01T00:00:00Z",
"lastSeenAt": "2025-01-01T00:00:00Z",
"managedBy": {
"resourceType": "organization",
"resourceId": "oeMyOrg"
}
}
Need more? See the Sanity guide for connection setup and behaviour shared by every action.
Was this page helpful?