ASI Tagging: Get Task Status

Poll the completion status of an asynchronous tagging operation by task ID.

What this endpoint does

Polls the completion status of an asynchronous ASI tagging operation. Call this when ASI Tagging: Bulk Tag Assets returns complete: false with a non-empty task_ids array. Pass each task_id from that response as the path parameter here. Poll until complete: true. Even after completion, indexing propagation can take up to 5 minutes before tags appear in asset queries. The project_id is the same one used in the originating tagging request, from GET https://api.securitytrails.com/v2/projects (undocumented on this site). Authentication: apikey header.

Response data

Returns the same AssetTagAPIResponse envelope as the originating endpoint: {"data": {"add_tags": [...], "remove_tags": [...], "assets": [...], "complete": bool, "task_ids": [...]}}. Continue polling if complete is false.

Path Params
string
required
string
required

Task id which was returned in a prior asset tagging request.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json