Query artifact information
Query information about multiple artifacts by their hashes. Returns metadata about each artifact including size, task duration, and tag.
This endpoint is optional for basic cache functionality but enables optimized cache fetching by allowing the client to query multiple artifacts in a single request.
/artifactsAuthorizationBearer token · headerrequiredBearer token authentication. Pass your authentication token in the Authorization header as Bearer <token>.
For self-hosted implementations, the token format and validation logic is up to the implementer. Common approaches include:
- Static tokens for simple setups
- JWT tokens for stateless authentication
- OAuth2 tokens for integration with identity providers
teamIdstringThe team identifier to perform the request on behalf of. Used for multi-tenant cache implementations where artifacts are scoped to teams.
slugstringThe team slug to perform the request on behalf of. Alternative to teamId for identifying the team.
application/jsonhashesstring[]requiredArray of artifact hashes to query
Artifact information retrieved successfully
objectBad request. One or more of the provided values in the request query, headers, or body is invalid.
codestringrequiredA machine-readable error code
messagestringrequiredA human-readable error message
Unauthorized. The request is missing a valid authentication token or the token is invalid.
codestringrequiredA machine-readable error code
messagestringrequiredA human-readable error message
Forbidden. The authenticated user does not have permission to access this resource.
codestringrequiredA machine-readable error code
messagestringrequiredA human-readable error message