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:
description: This is the ToolHive API server.
title: ToolHive Groups API
version: '1.0'
tags:
- name: Groups
paths:
/api/v1beta/groups:
get:
description: Get a list of all groups
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/pkg_api_v1.groupListResponse'
description: OK
'500':
content:
application/json:
schema:
type: string
description: Internal Server Error
summary: List all groups
tags:
- Groups
operationId: getApiV1betaGroups
x-operation-id-source: derived
post:
description: Create a new group with the specified name
requestBody:
content:
application/json:
schema:
oneOf:
- type: object
- $ref: '#/components/schemas/pkg_api_v1.createGroupRequest'
description: Group creation request
summary: group
description: Group creation request
required: true
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/pkg_api_v1.createGroupResponse'
description: Created
'400':
content:
application/json:
schema:
type: string
description: Bad Request
'409':
content:
application/json:
schema:
type: string
description: Conflict
'500':
content:
application/json:
schema:
type: string
description: Internal Server Error
summary: Create a new group
tags:
- Groups
operationId: postApiV1betaGroups
x-operation-id-source: derived
/api/v1beta/groups/{name}:
delete:
description: Delete a group by name.
parameters:
- description: Group name
in: path
name: name
required: true
schema:
type: string
- description: 'Delete all workloads in the group (default: false, moves workloads to default group)'
in: query
name: with-workloads
schema:
type: boolean
responses:
'204':
content:
application/json:
schema:
type: string
description: No Content
'404':
content:
application/json:
schema:
type: string
description: Not Found
'500':
content:
application/json:
schema:
type: string
description: Internal Server Error
summary: Delete a group
tags:
- Groups
operationId: deleteApiV1betaGroupsByName
x-operation-id-source: derived
get:
description: Get details of a specific group
parameters:
- description: Group name
in: path
name: name
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/github_com_stacklok_toolhive_pkg_groups.Group'
description: OK
'404':
content:
application/json:
schema:
type: string
description: Not Found
'500':
content:
application/json:
schema:
type: string
description: Internal Server Error
summary: Get group details
tags:
- Groups
operationId: getApiV1betaGroupsByName
x-operation-id-source: derived
components:
schemas:
pkg_api_v1.createGroupRequest:
properties:
name:
description: Name of the group to create
type: string
type: object
github_com_stacklok_toolhive_pkg_groups.Group:
properties:
name:
type: string
plugins:
items:
type: string
type: array
uniqueItems: false
registered_clients:
items:
type: string
type: array
uniqueItems: false
skills:
items:
type: string
type: array
uniqueItems: false
type: object
pkg_api_v1.createGroupResponse:
properties:
name:
description: Name of the created group
type: string
type: object
pkg_api_v1.groupListResponse:
properties:
groups:
description: List of groups
items:
$ref: '#/components/schemas/github_com_stacklok_toolhive_pkg_groups.Group'
type: array
uniqueItems: false
type: object
externalDocs:
description: ''
url: ''