> For the complete documentation index, see [llms.txt](https://detected.gitbook.io/detected-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://detected.gitbook.io/detected-api-docs/api-reference/profiles/checklists.md).

# Checklists

Checklists track the tasks that need to be performed on a profile. Case management users complete the tasks as part of their profile workflows. A profile can have multiple checklists assigned.

## List profile checklists

> Returns all of the checklists assigned to a profile. Each checklist is made up of sections, and each section of tasks.

```json
{"openapi":"3.0.0","info":{"title":"Detected API","version":"v2"},"tags":[{"name":"Profile Checklists","description":"Checklists track the tasks that need to be performed on a profile. Case management users complete the tasks as part of their profile workflows. A profile can have multiple checklists assigned."}],"servers":[{"url":"https://api.detected.app/api/v2/public","description":"Production"}],"security":[{"AccessToken":[]}],"components":{"securitySchemes":{"AccessToken":{"type":"http","description":"The API uses OAuth 2.0. Request an access token with **Create an access token** (`POST /oauth/token`), sending the client ID and client secret of your integration client, and your account slug. Send the access token in the `Authorization` header of every request, in the format `Authorization: Bearer <access_token>`. The access token carries the scopes set on your integration client in the dashboard. Access tokens expire. When one expires, request a new one.","bearerFormat":"OAuth 2.0 access token","scheme":"bearer"}},"parameters":{"profileUuid":{"name":"uuid","in":"path","description":"UUID of the profile.","required":true,"schema":{"type":"string","format":"uuid","nullable":false}},"order_by":{"name":"order_by","in":"query","description":"Direction to sort the results in: `asc` for ascending or `desc` for descending. Use it together with `sort_by`; it has no effect if `sort_by` is omitted. The default is `asc`.","schema":{"type":"string","enum":["desc","asc"]}},"page":{"name":"page","in":"query","description":"Page number of the results to return, starting from 1. The number of items per page is returned in `meta.per_page`.","schema":{"type":"integer","minimum":1}}},"headers":{"X-RateLimit-Limit":{"description":"Maximum number of requests allowed in the rate limit window.","schema":{"type":"number","nullable":false}},"X-RateLimit-Remaining":{"description":"Number of requests remaining in the current rate limit window.","schema":{"type":"number","nullable":false}},"Retry-After":{"description":"Number of seconds to wait before making another request. Returned when the rate limit has been reached.","schema":{"type":"number","nullable":false}},"X-RateLimit-Reset":{"description":"Unix timestamp (in seconds) at which the rate limit resets. Returned when the rate limit has been reached.","schema":{"type":"number","nullable":false}}},"schemas":{"ChecklistResource":{"title":"Checklist Resource","required":["id","name"],"properties":{"id":{"description":"Checklist ID.","type":"integer","nullable":false},"name":{"description":"Name of the checklist.","type":"string","nullable":false},"sections":{"description":"Sections of the checklist.","type":"array","items":{"properties":{"id":{"description":"Section ID.","type":"integer","nullable":false},"name":{"description":"Name of the section.","type":"string","nullable":false},"tasks":{"description":"Tasks in the section.","type":"array","items":{"properties":{"id":{"description":"Task ID.","type":"integer","nullable":false},"name":{"description":"Name of the task.","type":"string","nullable":false},"team":{"description":"Team the task is assigned to.","properties":{"id":{"description":"Team ID.","type":"number","nullable":false},"name":{"description":"Name of the team.","type":"string","nullable":false},"members_count":{"description":"Number of members in the team.","type":"number","nullable":false}},"type":"object","nullable":true},"status":{"description":"Status of the task: `passed`, `failed` or `exempt` once it's complete, or `needs_review` while it still needs review.","type":"string","enum":["exempt","failed","passed","needs_review"],"nullable":false},"position":{"description":"Position of the task in the section.","type":"integer"},"member_belongs_to_team":{"description":"Whether the authenticated user is a member of the team the task is assigned to.","type":"boolean","nullable":false}},"type":"object"}},"position":{"description":"Position of the section in the checklist.","type":"integer"}},"type":"object"}},"uncompleted_tasks":{"description":"Number of tasks that still need review (`needs_review`), across all sections.","type":"integer","nullable":false},"completed_tasks":{"description":"Number of tasks that are complete (`passed`, `failed` or `exempt`), across all sections.","type":"integer","nullable":false},"checklist_id":{"description":"ID of the checklist template the checklist was created from.","type":"integer"}},"type":"object"},"LinksResource":{"title":"Links Resource","properties":{"first":{"description":"URL of the first page of results.","type":"string","nullable":false},"last":{"description":"URL of the last page of results.","type":"string","nullable":false},"prev":{"description":"URL of the previous page of results, or null if there is none.","type":"string","nullable":true},"next":{"description":"URL of the next page of results, or null if there is none.","type":"string","nullable":true}},"type":"object"},"MetaResource":{"title":"Meta Resource","properties":{"current_page":{"description":"Number of the current page.","type":"integer","nullable":false},"from":{"description":"Position of the first item on this page, counted across all pages, or `null` if there are no results.","type":"integer","nullable":true},"last_page":{"description":"Number of the last page.","type":"integer","nullable":false},"links":{"description":"Pagination links, including links to the previous and next pages.","type":"array","items":{"properties":{"url":{"description":"URL of the page, or `null` if there is no such page.","type":"string","nullable":true},"label":{"description":"Text to display for the link, for example a page number or \"Previous\".","type":"string","nullable":false},"page":{"description":"Number of the page the link points to, or `null` if there is no such page.","type":"integer","nullable":true},"active":{"description":"Whether this link is for the current page.","type":"boolean","nullable":false}},"type":"object"},"nullable":false},"path":{"description":"Base URL of the endpoint, without query parameters.","type":"string","nullable":false},"per_page":{"description":"Number of items per page.","type":"integer","nullable":false},"to":{"description":"Position of the last item on this page, counted across all pages, or `null` if there are no results.","type":"integer","nullable":true},"total":{"description":"Total number of items across all pages.","type":"integer","nullable":false}},"type":"object"}},"responses":{"401":{"description":"Unauthorized. The access token is missing, invalid or has expired.","content":{"application/json":{"schema":{"properties":{"message":{"description":"A human-readable description of the error.","type":"string"}},"type":"object"}}}},"404":{"description":"Not Found. The requested resource does not exist, or is not available to your account.","content":{"application/json":{"schema":{"properties":{"message":{"description":"A human-readable description of the error.","type":"string"},"error":{"description":"Machine-readable details of the error.","type":"object","properties":{"key":{"description":"Error code, for example `error.generic`.","type":"string"},"params":{"description":"Values used in the error message, if any.","type":"array","items":{}}}}},"type":"object"}}}},"429":{"description":"Too Many Requests. You have exceeded the rate limit. Wait for the number of seconds given in the `Retry-After` header before trying again.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"properties":{"message":{"description":"A human-readable description of the error.","type":"string"}},"type":"object"}}}}}},"paths":{"/profiles/{uuid}/checklists":{"get":{"tags":["Profile Checklists"],"summary":"List profile checklists","description":"Returns all of the checklists assigned to a profile. Each checklist is made up of sections, and each section of tasks.","operationId":"7d5bc7f98df5b25c4202c6a29a0d61c7","parameters":[{"$ref":"#/components/parameters/profileUuid"},{"$ref":"#/components/parameters/order_by"},{"name":"sort_by","in":"query","description":"The field to sort the results by. Use it together with `order_by` to choose the direction; if `order_by` is omitted, results are sorted in ascending order (`asc`). If `sort_by` is omitted, results are returned in no guaranteed order.\n\nSupported fields:\n- `created_at`\n- `updated_at`\n- `id`\n- `name`\n","schema":{"type":"string"}},{"$ref":"#/components/parameters/page"},{"name":"id","in":"query","description":"Filter by checklist ID. If a match is found, only that checklist is returned.","schema":{"type":"integer"}},{"name":"name","in":"query","description":"Filter by checklist name.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"}},"content":{"application/json":{"schema":{"properties":{"data":{"description":"List of checklists","type":"array","items":{"$ref":"#/components/schemas/ChecklistResource"}},"links":{"$ref":"#/components/schemas/LinksResource"},"meta":{"$ref":"#/components/schemas/MetaResource"},"progress":{"description":"Completed tasks out of all tasks, across all the profile's checklists, for example `3/27`.","type":"string"}},"type":"object"}}}},"401":{"$ref":"#/components/responses/401"},"404":{"$ref":"#/components/responses/404"},"429":{"$ref":"#/components/responses/429"}}}}}}
```

## Retrieve a profile checklist

> Returns a single checklist for a profile, including its sections, tasks and progress.

```json
{"openapi":"3.0.0","info":{"title":"Detected API","version":"v2"},"tags":[{"name":"Profile Checklists","description":"Checklists track the tasks that need to be performed on a profile. Case management users complete the tasks as part of their profile workflows. A profile can have multiple checklists assigned."}],"servers":[{"url":"https://api.detected.app/api/v2/public","description":"Production"}],"security":[{"AccessToken":[]}],"components":{"securitySchemes":{"AccessToken":{"type":"http","description":"The API uses OAuth 2.0. Request an access token with **Create an access token** (`POST /oauth/token`), sending the client ID and client secret of your integration client, and your account slug. Send the access token in the `Authorization` header of every request, in the format `Authorization: Bearer <access_token>`. The access token carries the scopes set on your integration client in the dashboard. Access tokens expire. When one expires, request a new one.","bearerFormat":"OAuth 2.0 access token","scheme":"bearer"}},"parameters":{"profileUuid":{"name":"uuid","in":"path","description":"UUID of the profile.","required":true,"schema":{"type":"string","format":"uuid","nullable":false}},"checklistId":{"name":"id","in":"path","description":"ID of the checklist.","required":true,"schema":{"type":"integer","nullable":false}}},"headers":{"X-RateLimit-Limit":{"description":"Maximum number of requests allowed in the rate limit window.","schema":{"type":"number","nullable":false}},"X-RateLimit-Remaining":{"description":"Number of requests remaining in the current rate limit window.","schema":{"type":"number","nullable":false}},"Retry-After":{"description":"Number of seconds to wait before making another request. Returned when the rate limit has been reached.","schema":{"type":"number","nullable":false}},"X-RateLimit-Reset":{"description":"Unix timestamp (in seconds) at which the rate limit resets. Returned when the rate limit has been reached.","schema":{"type":"number","nullable":false}}},"schemas":{"ChecklistResource":{"title":"Checklist Resource","required":["id","name"],"properties":{"id":{"description":"Checklist ID.","type":"integer","nullable":false},"name":{"description":"Name of the checklist.","type":"string","nullable":false},"sections":{"description":"Sections of the checklist.","type":"array","items":{"properties":{"id":{"description":"Section ID.","type":"integer","nullable":false},"name":{"description":"Name of the section.","type":"string","nullable":false},"tasks":{"description":"Tasks in the section.","type":"array","items":{"properties":{"id":{"description":"Task ID.","type":"integer","nullable":false},"name":{"description":"Name of the task.","type":"string","nullable":false},"team":{"description":"Team the task is assigned to.","properties":{"id":{"description":"Team ID.","type":"number","nullable":false},"name":{"description":"Name of the team.","type":"string","nullable":false},"members_count":{"description":"Number of members in the team.","type":"number","nullable":false}},"type":"object","nullable":true},"status":{"description":"Status of the task: `passed`, `failed` or `exempt` once it's complete, or `needs_review` while it still needs review.","type":"string","enum":["exempt","failed","passed","needs_review"],"nullable":false},"position":{"description":"Position of the task in the section.","type":"integer"},"member_belongs_to_team":{"description":"Whether the authenticated user is a member of the team the task is assigned to.","type":"boolean","nullable":false}},"type":"object"}},"position":{"description":"Position of the section in the checklist.","type":"integer"}},"type":"object"}},"uncompleted_tasks":{"description":"Number of tasks that still need review (`needs_review`), across all sections.","type":"integer","nullable":false},"completed_tasks":{"description":"Number of tasks that are complete (`passed`, `failed` or `exempt`), across all sections.","type":"integer","nullable":false},"checklist_id":{"description":"ID of the checklist template the checklist was created from.","type":"integer"}},"type":"object"}},"responses":{"401":{"description":"Unauthorized. The access token is missing, invalid or has expired.","content":{"application/json":{"schema":{"properties":{"message":{"description":"A human-readable description of the error.","type":"string"}},"type":"object"}}}},"404":{"description":"Not Found. The requested resource does not exist, or is not available to your account.","content":{"application/json":{"schema":{"properties":{"message":{"description":"A human-readable description of the error.","type":"string"},"error":{"description":"Machine-readable details of the error.","type":"object","properties":{"key":{"description":"Error code, for example `error.generic`.","type":"string"},"params":{"description":"Values used in the error message, if any.","type":"array","items":{}}}}},"type":"object"}}}},"429":{"description":"Too Many Requests. You have exceeded the rate limit. Wait for the number of seconds given in the `Retry-After` header before trying again.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"properties":{"message":{"description":"A human-readable description of the error.","type":"string"}},"type":"object"}}}}}},"paths":{"/profiles/{uuid}/checklists/{id}":{"get":{"tags":["Profile Checklists"],"summary":"Retrieve a profile checklist","description":"Returns a single checklist for a profile, including its sections, tasks and progress.","operationId":"c9e705c4d3bae53ce6205c58882f854b","parameters":[{"$ref":"#/components/parameters/profileUuid"},{"$ref":"#/components/parameters/checklistId"}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"}},"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/ChecklistResource"}},"type":"object"}}}},"401":{"$ref":"#/components/responses/401"},"404":{"$ref":"#/components/responses/404"},"429":{"$ref":"#/components/responses/429"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://detected.gitbook.io/detected-api-docs/api-reference/profiles/checklists.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
