provider API Management GET /api/v2/apicatalog/api/{id}/openapi
@utdk/datadog /api/v2/apicatalog/api/{id}/openapi
Get an API
Retrieve information about a specific API in [OpenAPI](https://spec.openapis.org/oas/latest.html) format file.
id path required
ID of the API to retrieve
string

Try it

Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getopenapi
GET/api/v2/apicatalog/api/{id}/openapi
Retrieve information about a specific API in [OpenAPI](https://spec.openapis.org/oas/latest.html) format file.

Parameters

required

ID of the API to retrieve

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.getopenapi()