Skip to content

Coverage Report by ID (GET)

GEThttps://kg.diffbot.com/kg/v3/dql/report/{id}

Download a coverage report by its reportId. This is an id returned when a DQL search is run with report=true.

This might make more sense starting with fetching a coverage report by query.

Example

bash
curl --request GET \
  --url 'https://kg.diffbot.com/kg/v3/dql/report/C-4d87a965-b43f?token=<DIFFBOT_TOKEN>' \
  --header 'Accept: text/csv'
text
DiffbotID,Name,$.name,$.nbEmployees
"",,1.0,1.0
El0wZJw_cOn-MAyp_hZZ5Tw,Yandex,1,1
EUFq-3WlpNsq0pvfUYWXOEA,Google,1,1
Ec5P22-6EPLOXo1-z6-4NzA,Instagram,1,1

API Definition

Generated from v1.0.0 of the DQL API OpenAPI specification.

Download coverage report by report ID

Request

Authentication
tokenquery
Token automatically inserted into examples docs-wide
Path parameters
idstring required

The report id

Example request

bash
curl --request GET \
  --url 'https://kg.diffbot.com/kg/v3/dql/report/<id>?token=<DIFFBOT_TOKEN>' \
  --header 'Accept: text/csv'

Response

200Coverage report
txt
DiffbotID,Name,$.name,$.nbEmployees
"",,1.0,1.0
El0wZJw_cOn-MAyp_hZZ5Tw,Yandex,1,1
EUFq-3WlpNsq0pvfUYWXOEA,Google,1,1
Ec5P22-6EPLOXo1-z6-4NzA,Instagram,1,1
404Report not found
errorboolean
messagestring
json
{
  "error": true,
  "message": "Report not found: C-4d87a965-b43f"
}
500Internal Server Error
codeinteger
messagestring
json
{
  "code": 500,
  "message": "HTTP 500 Internal Server Error"
}