Metatext home page
Search...
Support
Dashboard
Dashboard
Search...
Navigation
Finetune & Inference endpoints
Generate
Documentation
API reference
Recipes
Github - Recipes & examples
Community
Blog
AI Safety endpoints
Authentication
POST
Evaluate
POST
Create an application
DEL
Delete an application
POST
Create a policy / guardrails
PUT
Update a policy and guardrails
GET
List policies and guardrails
DEL
Delete a policy and guardrails
POST
Red Team Test Vulnerabilities
GET
Red Team Test Probes
Finetune & Inference endpoints
Authentication
POST
Classify
POST
Extract
POST
Generate
POST
OpenAI compatible
POST
Train model
Finetune & Inference endpoints
Generate
POST
/
v2
/
generate
/
{project_id}
Try it
Path Parameters
project
any
required
Body
application/json
model
string
required
max_tokens
integer
default:
100
messages
object[]
prompt
string
stop
string
temperature
number
default:
0.2
Response
200 - application/json
choices
any[]
required
created
integer
required
id
string
required
model
string
required
usage
object
required
metadata
object
object
string
default:
text_completion
system_fingerprint
string
Extract
OpenAI compatible