external-ids
prompt-templates
Upsert Prompt Template by External ID
put/prompt-templates/by-external-id/{source}/{external_id}
Request
- Base URLhttps://docs.promptlayer.com (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
sourcestring required
External ID source.
external_idstring required
External ID value. URL-encode any reserved path characters.
Request body
Response
Prompt template updated
Changes
No recorded changes to this operation across all 3 revisions of this API.