Developers

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.

OperationWhat it returns
GET /api/v1/viewsThe saved views you can see on the Views page
GET /api/v1/templatesThe job and document templates you can see
GET /api/v1/templates/{id}One template, with its text
GET /api/v1/skillsYour own Agent skills and your teams' skills
GET /api/v1/skills/{id}One skill, with its instructions
GET /api/v1/docs/searchThe 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.

ParameterTypeDefaultMeaning
limitinteger, 1 to 10025How many views to return
cursorstringnoneThe next_cursor of the previous page
updated_sinceRFC 3339 timestampnoneOnly 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}
FieldTypeMeaning
namestringThe view's name
urlstringThe address that opens the view in Attia
idUUIDThe view's id. It never changes
kindjobs, candidates or applicationsThe list the view opens
visibilitypersonal, workspace or teamWho sees the view: only you, every member, or the team's members
team_idUUID or nullThe team whose list the view opens. null for a list of the whole workspace
descriptionstring or nullThe view's description
created_attimestampWhen the view was created
updated_attimestampWhen 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.

ParameterTypeDefaultMeaning
limitinteger, 1 to 10025How many templates to return
cursorstringnoneThe next_cursor of the previous page
updated_sinceRFC 3339 timestampnoneOnly 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}
FieldTypeMeaning
idUUIDThe template's id. It never changes
typejob or documentA job template or a document template
namestringThe template's name
descriptionstring or nullA job template's summary or a document template's description
scopeworkspace or teamWhether the template belongs to the workspace or to a team
team_idUUID or nullThe team of a team template. null for a workspace template
created_attimestampWhen the template was created
updated_attimestampWhen 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"
FieldTypeMeaning
contentstring or nullThe 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.

ParameterTypeDefaultMeaning
limitinteger, 1 to 10025How many skills to return
cursorstringnoneThe next_cursor of the previous page
updated_sinceRFC 3339 timestampnoneOnly 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}
FieldTypeMeaning
idUUIDThe skill's id. It never changes
namestringThe skill's name
scopepersonal or teamYour own skill, or a skill of one of your teams
team_idUUID or nullThe team of a team skill. null for a personal skill
keywordsarray of stringsThe words the skill is filed under
enabledbooleanWhether the Agent may use the skill
created_attimestampWhen the skill was created
updated_attimestampWhen 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"
FieldTypeMeaning
instructionsstringWhat 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"
ParameterTypeDefaultMeaning
querystring, 1 to 200 charactersrequiredThe phrase to look for in the pages' titles, descriptions and text. Case does not matter
pageinteger, 0 to 9990Which page of hits to return, from 0
localeen or nbenThe 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}
FieldTypeMeaning
titlestringThe help page's title
urlstringThe help page's address
snippetstringThe page's description when the phrase is in it. Otherwise up to 140 characters of the page's text around the first match