Views, templates, skills and help search
GET /api/v1/views, /templates and /skills read the views, templates and Agent skills you can see, with no candidate data. GET /api/v1/docs/search searches the help pages. All need Read.
Overview
Six operations read the views, templates and Agent skills you can see, and search Attia's help pages. All six need the Read permission, and none of them writes anything.
| Operation | What it returns |
|---|---|
GET /api/v1/views | The saved views you can see on the Views page |
GET /api/v1/templates | The job and document templates you can see |
GET /api/v1/templates/{id} | One template, with its text |
GET /api/v1/skills | Your own Agent skills and your teams' skills |
GET /api/v1/skills/{id} | One skill, with its instructions |
GET /api/v1/docs/search | The help pages that contain a phrase |
None of them returns candidate data. A view comes back as its name and the address that opens it, never its filters or who made it. A key limited to some teams, and a guest's key, get only those teams' views, templates and skills, beside the workspace's views and templates and your own views and skills. Authentication covers team access.
List views
GET /api/v1/views returns the saved views you can see on the Views page, a page at a time: your personal views, the workspace's views and the views of the teams you are on. It leaves out deleted views and the views of retired teams. A team's view needs a seat on the team, as it does in the app, so a workspace owner who is not on a team does not get its views.
curl "https://attia.app/api/v1/views?limit=50" \ -H "Authorization: Bearer $ATTIA_API_KEY"All three query parameters are optional.
| Parameter | Type | Default | Meaning |
|---|---|---|---|
limit | integer, 1 to 100 | 25 | How many views to return |
cursor | string | none | The next_cursor of the previous page |
updated_since | RFC 3339 timestamp | none | Only views updated at or after this time |
A parameter outside this table gets a 400 with the code invalid-request. So does a parameter sent twice.
The answer holds the views in data, sorted by updated_at and then id, oldest change first. next_cursor is a string when more views exist and null on the last page. Pagination explains how to page and how to poll for changes.
{ "data": [ { "name": "Open roles", "url": "https://attia.app/eksempelbedriften/jobs/view/open-roles-0192f3b45e21", "id": "0192f3b4-5e21-7b30-9c4d-1a2b3c4d5e6f", "kind": "jobs", "visibility": "workspace", "team_id": null, "description": null, "created_at": "2026-09-25T12:04:51.220417Z", "updated_at": "2026-10-01T09:42:10.118305Z" } ], "next_cursor": null}| Field | Type | Meaning |
|---|---|---|
name | string | The view's name |
url | string | The address that opens the view in Attia |
id | UUID | The view's id. It never changes |
kind | jobs, candidates or applications | The list the view opens |
visibility | personal, workspace or team | Who sees the view: only you, every member, or the team's members |
team_id | UUID or null | The team whose list the view opens. null for a list of the whole workspace |
description | string or null | The view's description |
created_at | timestamp | When the view was created |
updated_at | timestamp | When the view last changed |
Version 1 can gain a field, so ignore one you do not know. Timestamps, nulls and enums describes each format.
List templates
GET /api/v1/templates returns the job and document templates you can see, a page at a time: the workspace's templates and those of the teams you can see. It leaves out archived templates. The list leaves out each template's text, so get one template to read it.
curl "https://attia.app/api/v1/templates?limit=50" \ -H "Authorization: Bearer $ATTIA_API_KEY"All three query parameters are optional, and they work as they do for List views.
| Parameter | Type | Default | Meaning |
|---|---|---|---|
limit | integer, 1 to 100 | 25 | How many templates to return |
cursor | string | none | The next_cursor of the previous page |
updated_since | RFC 3339 timestamp | none | Only templates updated at or after this time |
{ "data": [ { "id": "0192f3b4-6a10-7d42-8b3e-2c4d6e8f0a1b", "type": "job", "name": "Engineering role", "description": "Our standard posting for an engineering role.", "scope": "team", "team_id": "0192f3b4-3d71-7f20-a1c8-5e6f7a8b9c01", "created_at": "2026-09-25T12:04:51.220417Z", "updated_at": "2026-10-01T09:42:10.118305Z" } ], "next_cursor": null}| Field | Type | Meaning |
|---|---|---|
id | UUID | The template's id. It never changes |
type | job or document | A job template or a document template |
name | string | The template's name |
description | string or null | A job template's summary or a document template's description |
scope | workspace or team | Whether the template belongs to the workspace or to a team |
team_id | UUID or null | The team of a team template. null for a workspace template |
created_at | timestamp | When the template was created |
updated_at | timestamp | When the template last changed |
Get one template
GET /api/v1/templates/{id} returns the template with that id, with the same fields as a template in the list and its text in content. It takes no query parameters.
curl "https://attia.app/api/v1/templates/0192f3b4-6a10-7d42-8b3e-2c4d6e8f0a1b" \ -H "Authorization: Bearer $ATTIA_API_KEY"| Field | Type | Meaning |
|---|---|---|
content | string or null | The template's text as plain text, without its formatting: a job template's description or a document template's body |
A 404 with the code not-found means no template your key can see has that id. The template may not exist, may be archived, may belong to a team outside your key's teams, or may belong to another workspace. Every one of these gets the same answer. An id that is not a UUID gets the same 404.
List skills
GET /api/v1/skills returns the Agent skills you can see, a page at a time: your personal skills and the skills of the teams you can see, turned on or off. It leaves out the skills of retired teams. Your personal skills belong to your account, so a key in any of your workspaces gets them. The list leaves out each skill's instructions, so get one skill to read them.
curl "https://attia.app/api/v1/skills?limit=50" \ -H "Authorization: Bearer $ATTIA_API_KEY"All three query parameters are optional, and they work as they do for List views.
| Parameter | Type | Default | Meaning |
|---|---|---|---|
limit | integer, 1 to 100 | 25 | How many skills to return |
cursor | string | none | The next_cursor of the previous page |
updated_since | RFC 3339 timestamp | none | Only skills updated at or after this time |
{ "data": [ { "id": "0192f3b4-7b22-7e53-9c4f-3d5e7f9a1b2c", "name": "Weekly pipeline summary", "scope": "team", "team_id": "0192f3b4-3d71-7f20-a1c8-5e6f7a8b9c01", "keywords": ["pipeline", "summary"], "enabled": true, "created_at": "2026-09-25T12:04:51.220417Z", "updated_at": "2026-10-01T09:42:10.118305Z" } ], "next_cursor": null}| Field | Type | Meaning |
|---|---|---|
id | UUID | The skill's id. It never changes |
name | string | The skill's name |
scope | personal or team | Your own skill, or a skill of one of your teams |
team_id | UUID or null | The team of a team skill. null for a personal skill |
keywords | array of strings | The words the skill is filed under |
enabled | boolean | Whether the Agent may use the skill |
created_at | timestamp | When the skill was created |
updated_at | timestamp | When the skill last changed |
Get one skill
GET /api/v1/skills/{id} returns the skill with that id, with the same fields as a skill in the list and what it tells the Agent in instructions. It takes no query parameters.
curl "https://attia.app/api/v1/skills/0192f3b4-7b22-7e53-9c4f-3d5e7f9a1b2c" \ -H "Authorization: Bearer $ATTIA_API_KEY"| Field | Type | Meaning |
|---|---|---|
instructions | string | What the skill tells the Agent to do |
A 404 with the code not-found means no skill your key can see has that id. The skill may not exist, may be another member's personal skill, may belong to a team outside your key's teams, or may belong to another workspace. Every one of these gets the same answer. An id that is not a UUID gets the same 404.
Search the help pages
GET /api/v1/docs/search searches Attia's public help pages, the ones the search in the help center finds. It never searches anything a workspace wrote. It still needs a valid key with the Read permission.
curl "https://attia.app/api/v1/docs/search?query=job%20templates" \ -H "Authorization: Bearer $ATTIA_API_KEY"| Parameter | Type | Default | Meaning |
|---|---|---|---|
query | string, 1 to 200 characters | required | The phrase to look for in the pages' titles, descriptions and text. Case does not matter |
page | integer, 0 to 999 | 0 | Which page of hits to return, from 0 |
locale | en or nb | en | The language of the help pages |
The answer holds up to five hits in data, best first: a match in the title comes before a match in the description, which comes before a match in the text, and an earlier match comes before a later one. next_page is the number to send as page for the next hits, and null on the last page.
{ "data": [ { "title": "Job templates", "url": "https://attia.app/en/docs/job-templates", "snippet": "A job template holds the setup for a role you hire for more than once. Start a job from it and the title, description, properties and…" } ], "next_page": null}| Field | Type | Meaning |
|---|---|---|
title | string | The help page's title |
url | string | The help page's address |
snippet | string | The page's description when the phrase is in it. Otherwise up to 140 characters of the page's text around the first match |