APIAPI reference
Corpus size and coverage
GET /v1/stats
GET /v1/stats
Authorization
This operation requires a bearer credential. The description defines additional role, scope or first-party-session restrictions; an API key does not grant those permissions by itself.
Request body
No request body.
Responses
| HTTP | Details | Type |
|---|---|---|
| 200 | Successful Response | application/json: Stats |
| 401 | Unauthorized | application/problem+json: ProblemDetails |
| 402 | Payment Required | application/problem+json: ProblemDetails |
| 403 | Forbidden | application/problem+json: ProblemDetails |
| 408 | Request Timeout | application/problem+json: ProblemDetails |
| 413 | Request Entity Too Large | application/problem+json: ProblemDetails |
| 422 | Unprocessable Entity | application/problem+json: ProblemDetails |
| 429 | Too Many Requests | application/problem+json: ProblemDetails |
| 502 | Bad Gateway | application/problem+json: ProblemDetails |
| 503 | Service Unavailable | application/problem+json: ProblemDetails |
Response: Stats
| Property | Type | Required | Details |
|---|---|---|---|
dataset_revision | string ∣ null | no | |
observations | integer | yes | |
reactions | integer | yes | |
quarantined | integer | yes | |
upstream_valid | integer | yes | |
with_temperature | integer | yes | |
with_pressure | integer | yes | |
with_agents | integer | yes | |
with_all_three | integer | yes | |
schema_version | integer | yes | |
units | object | yes | |
expert_confirmed | integer | yes | |
similarity_is_prediction | boolean | yes | |
ingest_states | object | yes | |
data_complete | boolean ∣ null | yes |
Full schema
{
"properties": {
"dataset_revision": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Dataset Revision"
},
"observations": {
"type": "integer",
"title": "Observations"
},
"reactions": {
"type": "integer",
"title": "Reactions"
},
"quarantined": {
"type": "integer",
"title": "Quarantined"
},
"upstream_valid": {
"type": "integer",
"title": "Upstream Valid"
},
"with_temperature": {
"type": "integer",
"title": "With Temperature"
},
"with_pressure": {
"type": "integer",
"title": "With Pressure"
},
"with_agents": {
"type": "integer",
"title": "With Agents"
},
"with_all_three": {
"type": "integer",
"title": "With All Three"
},
"schema_version": {
"type": "integer",
"title": "Schema Version"
},
"units": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"title": "Units"
},
"expert_confirmed": {
"type": "integer",
"title": "Expert Confirmed"
},
"similarity_is_prediction": {
"type": "boolean",
"title": "Similarity Is Prediction"
},
"ingest_states": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"title": "Ingest States"
},
"data_complete": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Data Complete"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"observations",
"reactions",
"quarantined",
"upstream_valid",
"with_temperature",
"with_pressure",
"with_agents",
"with_all_three",
"schema_version",
"units",
"expert_confirmed",
"similarity_is_prediction",
"ingest_states",
"data_complete"
],
"title": "Stats"
}This page is generated from OpenAPI; examples are schemas, not a fabricated successful response.