POST
/
v1
/
applications
curl --request POST \
  --url https://guard-api.metatext.ai/v1/applications \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "provider": "OpenAI",
  "model": "gpt-4o",
  "parameters": {
    "system_prompt": "<string>",
    "temperature": 0.1,
    "max_tokens": 100,
    "top_p": 0.1,
    "top_k": 1
  },
  "created": 123,
  "updated": 123
}'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "provider": "OpenAI",
  "model": "gpt-4o",
  "parameters": {
    "system_prompt": "<string>",
    "temperature": 0.1,
    "max_tokens": 100,
    "top_p": 0.1,
    "top_k": 1
  },
  "created": 123,
  "updated": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.