Get a workspace automation
GET/api/v2/workspaces/{slug}/automations/{pk}/
Workspace automations are rule graphs that run across a workspace. Read a single workspace automation by id.
Path parameters
slug:requiredstringThe workspace slug. It appears in your Plane URLs. In https://app.plane.so/my-team/projects/, the slug is my-team.
pk:requiredstring (uuid)The workspace automation id.
Response shaping
fields:optionalstringComma-separated list of fields to return. Fields you don't request are left out of the response instead of coming back as null. id is always included. Pass all to get every requestable field. An unknown field name returns 400. See Sparse fields.
Requestable here: bot_user_id, created_at, created_by_id, current_version_id, description, id, is_enabled, is_global, last_run_at, name, project_ids, run_count, scope, status, updated_at, updated_by_id.
Scopes
automations:read
Errors
| Status | Code | Cause |
|---|---|---|
401 | unauthorized | Missing or invalid credentials. |
402 | payment_required | The feature this endpoint belongs to isn't enabled on your plan or is switched off. |
403 | forbidden | Your role or token scope doesn't allow this. |
404 | not_found | No such resource, or it's outside your tenant. |
406 | not_acceptable | The Accept header asks for a representation the API can't produce. |
429 | rate_limited | Throttled. Honor the Retry-After header before retrying. |
Get a workspace automation
bash
curl -X GET \
"https://api.plane.so/api/v2/workspaces/my-team/automations/9c1f0b3d-6d2e-4c9a-8b41-2f7e5a0d6c88/" \
-H "X-Api-Key: $PLANE_API_KEY"python
import requests
response = requests.get(
"https://api.plane.so/api/v2/workspaces/my-team/automations/9c1f0b3d-6d2e-4c9a-8b41-2f7e5a0d6c88/",
headers={"X-Api-Key": "your-api-key"},
)
print(response.json())javascript
const response = await fetch(
"https://api.plane.so/api/v2/workspaces/my-team/automations/9c1f0b3d-6d2e-4c9a-8b41-2f7e5a0d6c88/",
{
method: "GET",
headers: {
"X-Api-Key": "your-api-key",
},
},
);
const data = await response.json();Response200
json
{
"bot_user_id": "f960d3c2-8524-4a41-b8eb-055ce4be2a7f",
"created_at": "2026-01-14T09:22:41.478363Z",
"created_by_id": "16c61a3a-512a-48ac-b0be-b6b46fe6f430",
"updated_by_id": null,
"current_version_id": "f960d3c2-8524-4a41-b8eb-055ce4be2a7f",
"description": "What this is for.",
"id": "b7e42a19-3c5d-4f80-9a26-8d1c0f4e7b53",
"is_enabled": false,
"is_global": true,
"last_run_at": "2026-01-14T09:22:41.478363Z",
"name": "Example name",
"project_ids": ["16c61a3a-512a-48ac-b0be-b6b46fe6f430"],
"run_count": 3,
"scope": "work-item",
"status": "draft",
"updated_at": "2026-01-14T09:22:41.478363Z"
}Response404
json
{
"type": "not_found",
"code": "not_found",
"detail": "No workspace automation matches the given query."
}
