# yaml-language-server: $schema=https://spec.openapis.org/overlay/1.0.0/schema.json
overlay: 1.0.0
info:
title: API Evangelist enhancements for the Segmind Storage Api
version: 1.0.0
x-provenance:
generated: '2026-08-27'
method: generated
source: >-
https://docs.segmind.com/ (Segmind's own documentation), applied over
openapi/segmind-storage-api-openapi.yml in this repo.
note: >-
This overlay records API Evangelist's enhancements. It never mutates
openapi/segmind-storage-api-openapi.yml, and it adds only facts published by Segmind in its
documentation.
extends: ../openapi/segmind-storage-api-openapi.yml
actions:
- target: $.info
description: Record where the runtime semantics for this API are documented. Segmind publishes no OpenAPI of its own; these enhancements come from its documentation.
update:
x-docs: https://docs.segmind.com/docs/serverless-api
x-error-catalog: errors/segmind-error-codes.yml
x-conventions: conventions/segmind-conventions.yml
x-rate-limits: rate-limits/segmind-rate-limits.yml
x-authentication: authentication/segmind-authentication.yml
x-lifecycle: lifecycle/segmind-lifecycle.yml
- target: $.components.securitySchemes.apiKeyAuth
description: >-
Document the published key format and the fact that the gateway rejects the same key
as a bearer token.
update:
description: >-
Segmind API key. Prefix "SG_" followed by 16 hexadecimal characters (19 characters
total). The gateway does NOT accept this key as a bearer token — sending it in an
Authorization header returns 401 on every endpoint. Create and revoke keys at
https://platform.segmind.com/api-keys.
x-key-prefix: SG_
x-verification-endpoint: https://api.segmind.com/v1/get-user-credits
- target: $.paths['/upload-asset'].post
description: >-
Correct the documented request encoding and record that no delete or list operation
exists.
update:
x-documented-request-body: >-
The docs publish this as application/json with a data_urls array of base64
data URLs (data:<mime-type>;base64,<content>), not multipart/form-data.
x-docs: https://docs.segmind.com/docs/serverless-api/segmind-storage
x-idempotent: false
x-reversibility: none — no delete-asset or list-assets operation is documented
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. See our Privacy Policy and
Terms.