OneInfer Folders and projects API
The Folders and projects API from OneInfer — 7 operation(s) for folders and projects.
The Folders and projects API from OneInfer — 7 operation(s) for folders and projects.
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/oneinfer-ai:oneinfer-ai-folders-and-projects-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: OneInfer Folders and projects API
description: Universal LLM APIs with Bearer Token Authentication
version: 0.1.0
tags:
- name: Folders and projects
paths:
/v1/developer/{developer_id}/hierarchy:
get:
tags:
- Folders and projects
summary: Get Hierarchy
description: 'The folders (depth-first) and projects the caller can see, the Default project and the
account''s size limits.'
operationId: get_hierarchy_v1_developer__developer_id__hierarchy_get
parameters:
- name: developer_id
in: path
required: true
schema:
type: string
title: Developer Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- BearerAuth: []
/v1/developer/{developer_id}/hierarchy/folders:
post:
tags:
- Folders and projects
summary: Create Folder
description: parent_id null puts the folder at the top level. Needs folders:create on the parent.
operationId: create_folder_v1_developer__developer_id__hierarchy_folders_post
parameters:
- name: developer_id
in: path
required: true
schema:
type: string
title: Developer Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateFolderRequest'
responses:
'201':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- BearerAuth: []
/v1/developer/{developer_id}/hierarchy/folders/{folder_id}:
patch:
tags:
- Folders and projects
summary: Update Folder
description: Rename, and/or move (parent_id, or parent_id null with move true for the top level).
operationId: update_folder_v1_developer__developer_id__hierarchy_folders__folder_id__patch
parameters:
- name: developer_id
in: path
required: true
schema:
type: string
title: Developer Id
- name: folder_id
in: path
required: true
schema:
type: string
title: Folder Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateFolderRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- BearerAuth: []
delete:
tags:
- Folders and projects
summary: Delete Folder
description: Only an empty folder, and never the last one.
operationId: delete_folder_v1_developer__developer_id__hierarchy_folders__folder_id__delete
parameters:
- name: developer_id
in: path
required: true
schema:
type: string
title: Developer Id
- name: folder_id
in: path
required: true
schema:
type: string
title: Folder Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- BearerAuth: []
/v1/developer/{developer_id}/hierarchy/projects:
post:
tags:
- Folders and projects
summary: Create Project
description: Needs projects:create on the folder.
operationId: create_project_v1_developer__developer_id__hierarchy_projects_post
parameters:
- name: developer_id
in: path
required: true
schema:
type: string
title: Developer Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateProjectRequest'
responses:
'201':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- BearerAuth: []
/v1/developer/{developer_id}/hierarchy/projects/{project_id}:
patch:
tags:
- Folders and projects
summary: Update Project
description: 'Rename, and/or move to folder_id (projects:move on both folders; in an org,
POST /v1/orgs/{org_id}/projects/{project_id}/move-preview first shows who it affects).'
operationId: update_project_v1_developer__developer_id__hierarchy_projects__project_id__patch
parameters:
- name: developer_id
in: path
required: true
schema:
type: string
title: Developer Id
- name: project_id
in: path
required: true
schema:
type: string
title: Project Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateProjectRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- BearerAuth: []
delete:
tags:
- Folders and projects
summary: Delete Project
description: Only an empty project, never the Default one.
operationId: delete_project_v1_developer__developer_id__hierarchy_projects__project_id__delete
parameters:
- name: developer_id
in: path
required: true
schema:
type: string
title: Developer Id
- name: project_id
in: path
required: true
schema:
type: string
title: Project Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- BearerAuth: []
/v1/developer/{developer_id}/hierarchy/resources:
get:
tags:
- Folders and projects
summary: List Resources
description: API keys, dedicated endpoints and GPU instances with the project each lives in.
operationId: list_resources_v1_developer__developer_id__hierarchy_resources_get
parameters:
- name: developer_id
in: path
required: true
schema:
type: string
title: Developer Id
- name: project_id
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Project Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- BearerAuth: []
/v1/developer/{developer_id}/hierarchy/assignments:
put:
tags:
- Folders and projects
summary: Assign Resource
description: 'Move a resource to a project (project_id null: the Default project).'
operationId: assign_resource_v1_developer__developer_id__hierarchy_assignments_put
parameters:
- name: developer_id
in: path
required: true
schema:
type: string
title: Developer Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AssignmentRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- BearerAuth: []
components:
schemas:
UpdateFolderRequest:
properties:
name:
anyOf:
- type: string
maxLength: 80
- type: 'null'
title: Name
parent_id:
anyOf:
- type: string
- type: 'null'
title: Parent Id
move:
type: boolean
title: Move
default: false
type: object
title: UpdateFolderRequest
CreateProjectRequest:
properties:
name:
type: string
maxLength: 80
title: Name
folder_id:
type: string
title: Folder Id
type: object
required:
- name
- folder_id
title: CreateProjectRequest
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
AssignmentRequest:
properties:
kind:
$ref: '#/components/schemas/ResourceKind'
ref:
type: string
maxLength: 128
minLength: 1
title: Ref
project_id:
anyOf:
- type: string
- type: 'null'
title: Project Id
shared:
anyOf:
- type: boolean
- type: 'null'
title: Shared
type: object
required:
- kind
- ref
title: AssignmentRequest
CreateFolderRequest:
properties:
name:
type: string
maxLength: 80
title: Name
parent_id:
anyOf:
- type: string
- type: 'null'
title: Parent Id
type: object
required:
- name
title: CreateFolderRequest
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
UpdateProjectRequest:
properties:
name:
anyOf:
- type: string
maxLength: 80
- type: 'null'
title: Name
folder_id:
anyOf:
- type: string
- type: 'null'
title: Folder Id
type: object
title: UpdateProjectRequest
ResourceKind:
type: string
enum:
- api_key
- endpoint
- instance
- storage
- router
- inference_endpoint
- startup_script
- registry_login
- blueprint_deployment
- deployment
- observability_session
- endpoint_deployment
- evaluation
- quantization
- batch_job
- optimizer_run
- sweep
- generation_task
- moderation_task
- dataset
- training_job
title: ResourceKind
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: Enter your JWT access token (without 'Bearer ' prefix)