/
ME
megagonlabs
/
Ruler API Specification
Search skmtc…
⌘K
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Subscribe
v1
latest
Swagger 2.0
2026-07-17
27
4
16.9 KB
Project Management
View available Ruler models
get
/models
Response
OK
string[]
required
All 27 operations
get
View available Ruler models
post
Select a model for this project
post
Create a new Ruler model
get
View available datasets
post
Select a dataset for this project
get
View files in a dataset
post
Upload a new dataset
get
get status of dataset preparation
get
Get pre-defined labels
post
Define labels for a task
get
Get pre-defined connective definition
get
Get pre-defined key types
get
Get all existing concepts
post
Create a concept
get
Get the tokens from one concept
put
Update tokens of existing concept
delete
Delete an existing concept
get
Get next text to label, possibly with annotations
put
Submit the user selected LF explanation
post
Submit the labeled text from the user
get
Get the previous interaction from history
get
Get the current quality statistics
get
Get the current quality statistics of an LR model trained on your labels
get
Get the current LF statistics
put
Delete a previous LF
get
Get examples of text labeled by the given labeling function
post
Save the interactions, labeling functions, and model to disk