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
Models
Overview
List models
GET
Get model
GET
Inferences
Overview
Estimate inference price
POST
Execute inference
POST
Get inference run
GET
Cancel inference run
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
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
v1
, superseded by v2
Files
Section titled “Files”
Upload inputs and retrieve generated output files.
Operations
Section titled “ Operations ”
POST
/v1/workspaces/{workspace_id}/files/upload-url