Hex Collections API
The Collections API from Hex — 2 operation(s) for collections.
The Collections API from Hex — 2 operation(s) for collections.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/hexa-collections-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Hex Cells Collections API
version: 1.0.0
description: API specification for the Hex External API
license:
name: UNLICENSED
contact: {}
servers:
- url: https://app.hex.tech/api
security:
- bearerAuth: []
tags:
- name: Collections
paths:
/v1/collections/{collectionId}:
get:
operationId: GetCollection
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/CollectionApiResource'
'400':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/TsoaErrorResponsePayload'
'403':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/TsoaErrorResponsePayload'
'500':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/TsoaErrorResponsePayload'
parameters:
- in: path
name: collectionId
required: true
schema:
$ref: '#/components/schemas/CollectionId'
tags:
- Collections
patch:
operationId: EditCollection
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/CollectionApiResource'
'400':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/TsoaErrorResponsePayload'
'403':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/TsoaErrorResponsePayload'
'500':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/TsoaErrorResponsePayload'
parameters:
- in: path
name: collectionId
required: true
schema:
$ref: '#/components/schemas/CollectionId'
requestBody:
required: true
content:
application/json:
schema:
properties:
sharing:
properties:
upsert:
$ref: '#/components/schemas/CollectionApiResourceSharing'
type: object
description:
type: string
name:
$ref: '#/components/schemas/Name'
type: object
tags:
- Collections
/v1/collections:
get:
operationId: ListCollections
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ListCollectionsResponse'
'400':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/TsoaErrorResponsePayload'
'403':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/TsoaErrorResponsePayload'
'500':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/TsoaErrorResponsePayload'
parameters:
- in: query
name: after
required: false
schema:
default: null
- in: query
name: before
required: false
schema:
default: null
- in: query
name: limit
required: false
schema:
$ref: '#/components/schemas/PageSize'
- in: query
name: sortBy
required: false
schema:
$ref: '#/components/schemas/ListCollectionsSortByEnum'
tags:
- Collections
post:
operationId: CreateCollection
responses:
'201':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/CollectionApiResource'
'400':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/TsoaErrorResponsePayload'
'403':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/TsoaErrorResponsePayload'
'500':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/TsoaErrorResponsePayload'
parameters: []
requestBody:
required: true
content:
application/json:
schema:
properties:
sharing:
$ref: '#/components/schemas/CollectionApiResourceSharing'
description:
type: string
name:
type: string
required:
- name
type: object
tags:
- Collections
components:
schemas:
ListCollectionsResponse:
properties:
values:
items:
$ref: '#/components/schemas/CollectionApiResource'
type: array
pagination:
$ref: '#/components/schemas/PaginationApiResource'
required:
- values
- pagination
type: object
additionalProperties: false
TraceId:
type: string
description: A unique identifier for this API request. The Hex Support team may request this value when debugging an issue.
UserId:
type: string
format: uuid
description: Unique ID for a user. This can be found from the users page (in Settings).
pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
CollectionId:
type: string
format: uuid
description: Unique ID for a collection.
pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
Name:
type: string
minLength: 1
CollectionApiResource:
properties:
id:
$ref: '#/components/schemas/CollectionId'
name:
$ref: '#/components/schemas/Name'
description:
type: string
creator:
properties:
email:
type: string
id:
$ref: '#/components/schemas/UserId'
required:
- email
- id
type: object
sharing:
$ref: '#/components/schemas/CollectionApiResourceSharing'
required:
- id
- name
- sharing
type: object
additionalProperties: false
ApiPaginationCursor:
type: string
description: 'A cursor string used with `before` and `after` parameters to paginate through a list
of items on the API.'
CollectionAccess:
$ref: '#/components/schemas/EnumValues_typeofCollectionAccess_'
PageSize:
type: integer
format: int32
default: '25'
description: Number of results to fetch per page for paginated requests
minimum: 1
maximum: 100
CollectionApiResourceSharing:
properties:
users:
items:
properties:
access:
$ref: '#/components/schemas/CollectionAccess'
id:
$ref: '#/components/schemas/UserId'
required:
- access
- id
type: object
type: array
groups:
items:
properties:
access:
$ref: '#/components/schemas/CollectionAccess'
id:
$ref: '#/components/schemas/GroupId'
required:
- access
- id
type: object
type: array
workspace:
properties:
members:
$ref: '#/components/schemas/CollectionAccess'
type: object
type: object
additionalProperties: false
GroupId:
type: string
format: uuid
description: Unique ID for a group. This can be found from the groups page (in Settings).
pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
TsoaErrorResponsePayload:
properties:
details:
type: string
traceId:
$ref: '#/components/schemas/TraceId'
reason:
type: string
required:
- reason
type: object
EnumValues_typeofListCollectionsSortByEnum_:
type: string
enum:
- NAME
ListCollectionsSortByEnum:
$ref: '#/components/schemas/EnumValues_typeofListCollectionsSortByEnum_'
EnumValues_typeofCollectionAccess_:
type: string
PaginationApiResource:
properties:
after:
allOf:
- $ref: '#/components/schemas/ApiPaginationCursor'
before:
allOf:
- $ref: '#/components/schemas/ApiPaginationCursor'
required:
- after
- before
type: object
additionalProperties: false
securitySchemes:
bearerAuth:
type: http
scheme: bearer