Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Reference Metadata API
version: 1.0.0
servers:
- url: https://api.sayari.com
description: Production
- url: https://api.internal.sayari.com
description: Dev
- url: https://api.uk.sayari.com
description: Production_UK
tags:
- name: Metadata
paths:
/metadata:
get:
operationId: metadata_metadata
summary: Metadata
description: Get metadata about the api, both its versions, which releases are present, and the identity of the authenticated user.
tags:
- Metadata
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/metadata_MetadataResponse'
'400':
description: Error response with status 400
content:
application/json:
schema:
$ref: '#/components/schemas/sharedErrors_BadRequestResponse'
'401':
description: Error response with status 401
content:
application/json:
schema:
$ref: '#/components/schemas/sharedErrors_UnauthorizedResponse'
'429':
description: Error response with status 429
content:
application/json:
schema:
$ref: '#/components/schemas/sharedErrors_RateLimitResponse'
'500':
description: Error response with status 500
content:
application/json:
schema:
$ref: '#/components/schemas/sharedErrors_InternalServerErrorResponse'
security:
- OAuthScheme: []
components:
schemas:
sharedErrors_InternalServerErrorResponse:
description: Any type
title: InternalServerErrorResponse
sharedErrors_RateLimitResponse:
description: Any type
title: RateLimitResponse
sharedErrors_BadRequestResponse:
description: Any type
title: BadRequestResponse
metadata_MetadataResponse:
type: object
properties:
version:
type: string
description: Currently deployed version of the application.
master_release:
type: string
description: Currently deployed main data release.
watchlist_release:
type: string
description: Currently deployed watchlist release.
user:
$ref: '#/components/schemas/metadata_UserInfo'
required:
- version
- master_release
- watchlist_release
- user
title: MetadataResponse
metadata_UserInfo:
type: object
properties:
id:
type: string
description: Currently logged in user ID
groupDisplayNames:
type: string
description: Name of the sayari organization tied to credentials
roles:
type: string
description: Licenses associated with the organization
required:
- id
title: UserInfo
sharedErrors_UnauthorizedResponse:
description: Any type
title: UnauthorizedResponse
securitySchemes:
OAuthScheme:
type: http
scheme: bearer
description: OAuth 2.0 authentication