Skip to content
Layer Docs
Search
Ctrl
K
Cancel
Copy Page
Open Markdown
Copy as text
Open in ChatGPT
Open in Claude
Open Layer
Home
User Guide
Models
CLI
SDK
MCP
Management
REST
Changelog
API
v2
v1
Overview
Base Models
Overview
List base models
GET
Get recommended base models
GET
Get base model
GET
Get a model's inference input schema
GET
Run an inference with a base model
POST
Inference Tools
Overview
List inference tools
GET
Get an inference tool's input schema
GET
Run an inference tool
POST
Estimate an inference tool run's price
POST
Reference Sets
Overview
List reference sets
GET
Get reference set
GET
Trends
Overview
List trends
GET
Get trend
GET
Inferences
Overview
Get a model's inference input schema
GET
Run an inference with a base model
POST
Cancel inference run
POST
Estimate inference price
POST
Execute inference
POST
Get inference run
GET
Rewrite a refused prompt
POST
Training
Overview
Create a reference set
POST
Estimate training price
POST
List training runs
GET
Start a training run
POST
Get a training run
GET
Cancel a training run
POST
Get a run's trained model
GET
Files
Overview
Request signed upload URL (recommended)
POST
Storage
Overview
Get workspace storage
GET
Recompute the storage breakdown
POST
List clean-up candidates
GET
Delete stored files
POST
List deleted files
GET
Restore deleted files
POST
Get auto-delete rules
GET
Set auto-delete rules
PUT
Clear auto-delete rules
DELETE
Preview auto-delete rules
POST
List auto-delete runs
GET
Run auto-delete now
POST
Sessions
Overview
List sessions
GET
Create session
POST
Get session
GET
Rename session
PATCH
List session objects
GET
Stream session events
GET
Scoring
Overview
List output scoring rules
GET
Score files against the scope's rules
POST
Get a scoring run
GET
Read a file's scores
GET
Workflows
Overview
List workflows
GET
Estimate workflow price
POST
Execute workflow
POST
Get workflow run
GET
Webhooks
Overview
Read the webhook signing secret
GET
Rotate the webhook signing secret
POST
Send a test delivery
POST
Workspaces
Overview
List workspaces
GET
Get workspace
GET
Get workspace usage
GET
Projects
Overview
List projects
GET
Create project
POST
Get project
GET
Delete project
DELETE
Update project
PATCH
Add project members
POST
Remove project member
DELETE
Products
Overview
List products
GET
Create product
POST
Get product
GET
Delete product
DELETE
Update product
PATCH
Members
Overview
List workspace members
GET
Invite workspace member
POST
Update workspace member
PATCH
List workspace member usage
GET
Get workspace member usage
GET
List invitations
GET
Invite to workspace
POST
Resend invitation
POST
Revoke invitation
DELETE
Groups
Overview
List groups
GET
Create group
POST
Delete group
DELETE
Update group role
PATCH
List group members
GET
Add group member
POST
Remove group member
DELETE
Set group usage limit
PUT
Remove group usage limit
DELETE
AI Policies
Overview
List AI policies
GET
Get effective AI policy
GET
Get workspace AI policy
GET
Replace workspace AI policy
PUT
Clear workspace AI policy
DELETE
Update workspace AI policy
PATCH
Get project AI policy
GET
Replace project AI policy
PUT
Clear project AI policy
DELETE
Update project AI policy
PATCH
Get group AI policy
GET
Replace group AI policy
PUT
Clear group AI policy
DELETE
Update group AI policy
PATCH
Get member AI policy
GET
Replace member AI policy
PUT
Clear member AI policy
DELETE
Update member AI policy
PATCH
Webhooks
Inference Event
POST
Training Event
POST
Scoring Run Event
POST
Workflow Run Event
POST
Copy Page
Open Markdown
Copy as text
Open in ChatGPT
Open in Claude
Open Layer
Support
Overview
Viewing
v2
, the current version
Base Models
Section titled “Base Models”
Browse the base model catalog and inspect model capabilities.
Operations
Section titled “ Operations ”
GET
/v2/workspaces/{workspace_id}/base-models
GET
/v2/workspaces/{workspace_id}/base-models/defaults
GET
/v2/workspaces/{workspace_id}/base-models/{base_model_id}
GET
/v2/workspaces/{workspace_id}/base-models/{slug}/inference-schema
POST
/v2/workspaces/{workspace_id}/base-models/{slug}/inferences