Saltar al contenido principal
POST
Crear un nuevo recurso

Autorizaciones

Authorization
string
header
requerido

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Encabezados

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Cuerpo

application/json
resourceType
enum<string>
requerido

Tipo de recurso LLM

Opciones disponibles:
completion,
file,
vector_store,
conversation,
response,
skill
resourceId
string
requerido

Identificador único para el recurso

Required string length: 1 - 79
overwrite
boolean
predeterminado:false

Si un propietario existente debe reemplazar relaciones directas por el recurso.

Respuesta

Recurso creado con éxito

The response is of type any.