Skip to content

API reference

Get KoSIT's own report pages for one validation item

Validations API

GET/v1/validations/{id}/items/{index}/gate-reports

The KoSIT validator’s own report pages (Prüfbericht) for this item, as the validator wrote them, one per run: a file that arrived has one, named for the syntax it was read as. They are handed back for every verdict, a rejected invoice included. A temporary result keeps them only until its operation expires, and never in the invoice archive. The operation and the item report do not carry them.

Path parameters

  • idstring (uuid)Required
  • indexintegerRequired

Status codes

Status Meaning
200 One page per run, in run order. Empty when the validator wrote none.
404
409 The item is pending or failed, so no report exists (operation_not_ready).
GET/v1/validations/{id}/items/{index}/gate-reports
Example
curl https://api.certinvo.com/v1/validations/$VALIDATION_ID/items/$ITEM_INDEX/gate-reports \
  -H "Authorization: Bearer $CERTINVO_API_KEY"
const validationId = '3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a'
const itemIndex = 'value'

const response = await fetch(`https://api.certinvo.com/v1/validations/${validationId}/items/${itemIndex}/gate-reports`, {
  headers: {
    Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
  },
})
console.log(response.status, await response.json())
import os

import requests

validation_id = "3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a"
item_index = "value"

response = requests.get(
    f"https://api.certinvo.com/v1/validations/{validation_id}/items/{item_index}/gate-reports",
    headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)
200
application/json
[
  {
    "run": "string",
    "html": "string"
  }
]
Success response
GET
/v1/validations/{id}/items/{index}/gate-reports
Get KoSIT's own report pages for one validation item
All
›AuthenticationRequiredBearerAuth

Provide your API key in the Authorization: Bearer <key> header. Keys are stored locally in your browser.

›Variables2
›Headers2
›Code Snippet
curl -X GET "https://api.certinvo.com/v1/validations/{id}/items/{index}/gate-reports" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response

No request sent yet

Configure parameters and click Send to view the response.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close