For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Sign inBook a demo
DocsReferenceChangelog
DocsReferenceChangelog
  • Introduction
    • SDKs
    • Errors
  • Humanloop API
      • POSTRegister
      • GETGet
      • POSTExport by ID
      • POSTSerialize
      • POSTDeserialize
LogoLogo
Sign inBook a demo
Humanloop APIModel Configs

Serialize

POST
https://api.humanloop.com/v4/model-configs/serialize
POST
/v4/model-configs/serialize
$curl -X POST https://api.humanloop.com/v4/model-configs/serialize \
> -H "X-API-KEY: <apiKey>" \
> -H "Content-Type: application/json" \
> -d '{
> "model": "model"
>}'
1"string"
Serialize a model config to a .prompt file format.
Was this page helpful?
Previous

Deserialize

Next
Built with

Authentication

X-API-KEYstring
API Key authentication via header

Request

This endpoint expects an object.
objectRequired
OR
objectRequired

Response

Successful Response

Errors

422
Model Configs Serialize Request Unprocessable Entity Error