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: Cloudsmithio Metadata API
version: '2026-10-09'
description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-09: 5 operation(s) read from 3 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; Cloudsmithio has published no machine-readable contract that the pipeline could find. Engine: local.'
x-evidence-tiers:
code-example: 2
documentation: 3
pages-with-code: 2
pages-read: 3
x-generated-from: documentation
x-provenance: generated
x-authored-by: API Evangelist
x-generated: '2026-10-09'
x-generator: generate-contract-from-docs.py
x-engine: local
x-sources:
- https://docs.cloudsmith.com/api
- https://docs.cloudsmith.com/api/rate-limits
- https://docs.cloudsmith.com/api/metadata/validate/create
servers:
- url: https://api.cloudsmith.io
security:
- apiKey: []
tags:
- name: Metadata
paths:
/metadata/validate:
post:
operationId: post_metadata_validate
tags:
- Metadata
summary: Validate a metadata payload
x-source: https://docs.cloudsmith.com/api/metadata/validate/create
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PostMetadataValidateRequest'
responses:
'201':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/PostMetadataValidateResponse'
x-evidence:
kind: documentation
components:
schemas:
PostMetadataValidateResponse:
type: object
properties:
'200':
type: string
description: The payload is valid for the given content type.
'401':
type: string
description: Authentication credentials were not provided or are invalid.
'422':
type: string
description: The request body failed validation.
PostMetadataValidateRequest:
type: object
properties:
content:
type: object
description: The metadata payload as a JSON object.
content_type:
type: string
description: The content type describing the structure of the metadata payload.
required:
- content
- content_type
securitySchemes:
apiKey:
type: apiKey
in: header
name: Authorization