Skip to main content
POST
/
api
/
search
/
artifacts
Batch retrieve artifact content by identifier (Auth policies: ApiKeyOrJwt)
curl --request POST \
  --url https://app.codealive.ai/api/search/artifacts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "identifiers": [
    "<string>"
  ]
}
'
{
  "artifacts": [
    {
      "identifier": "<string>",
      "content": "<string>",
      "contentByteSize": 123,
      "startLine": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

API Key authentication using Bearer token. Example: "Authorization: Bearer {apiKey}"

Headers

CodeAlive-Version
string

Body

The artifact content request

identifiers
string[] | null
required

Response

OK

artifacts
object[] | null
required