Uniform Relationships API
The Relationships API from Uniform — 1 operation(s) for relationships.
The Relationships API from Uniform — 1 operation(s) for relationships.
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/uniform-relationships-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
openapi: 3.2.0
info:
title: Uniform Platform Aggregates Relationships API
version: '2.0'
servers:
- url: https://uniform.app
description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Relationships
paths:
/api/v1/relationships:
get:
description: Gets the relationships for a given entity type
parameters:
- schema:
type: string
required: true
name: projectId
in: query
- schema:
type: string
enum:
- component
- contentType
- blockType
- asset
- componentPattern
- entryPattern
- compositionPattern
- entry
- dataType
- dataSource
- test
required: true
name: type
in: query
- schema:
type: array
items:
type: string
minItems: 1
description: Entity IDs
required: true
description: Entity IDs
name: ids
in: query
- schema:
type:
- boolean
- 'null'
default: false
description: Whether to include a list of related instances in the response. Only supported when a single entity ID is provided
required: false
description: Whether to include a list of related instances in the response. Only supported when a single entity ID is provided
name: withInstances
in: query
- schema:
type: number
minimum: 1
maximum: 100
description: Use this to paginate over the instances when "whenInstances" is true
required: false
description: Use this to paginate over the instances when "whenInstances" is true
name: limit
in: query
- schema:
type:
- number
- 'null'
minimum: 0
description: Use this to paginate over the instances when "whenInstances" is true
required: false
description: Use this to paginate over the instances when "whenInstances" is true
name: offset
in: query
responses:
'200':
description: 200 response
content:
application/json:
schema:
type: array
items:
type: object
properties:
id:
type: string
instances:
type: array
items:
type: object
properties:
uiStatus:
type: string
enum:
- Draft
- Modified
- Published
- Orphan
- Unknown
- Previous
publishedOnly:
type: boolean
icon:
type: string
instance:
type: object
properties:
_id:
type: string
_name:
type: string
_pattern:
type: string
required:
- _id
- _name
additionalProperties: false
edition:
type: object
properties:
id:
type: string
name:
type: string
required:
- id
- name
description: When set, this is a child edition of the instance in _id
pattern:
type: boolean
type:
type: string
enum:
- entry
- composition
- component
definition:
type: object
properties:
id:
type: string
name:
type: string
required:
- id
- name
release:
type: object
properties:
id:
type: string
name:
type: string
required:
- id
- name
required:
- publishedOnly
- instance
- pattern
- type
- definition
additionalProperties: false
totalCount:
type: number
required:
- id
- totalCount
additionalProperties: false
'400':
$ref: '#/components/responses/BadRequestError'
'401':
$ref: '#/components/responses/UnauthorizedError'
'403':
$ref: '#/components/responses/ForbiddenError'
'429':
$ref: '#/components/responses/RateLimitError'
'500':
$ref: '#/components/responses/InternalServerError'
tags:
- Relationships
security:
- ApiKeyAuth: []
- BearerAuth: []
components:
responses:
UnauthorizedError:
description: API key or token was not valid
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
RateLimitError:
description: Too many requests in allowed time period
BadRequestError:
description: Request input validation failed
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
ForbiddenError:
description: Permission was denied
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
InternalServerError:
description: Execution error occurred
schemas:
Error:
type: object
properties:
errorMessage:
description: Error message(s) that occurred while processing the request
oneOf:
- type: array
items:
type: string
- type: string
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key
BearerAuth:
type: http
scheme: bearer