Custom Provider Code
Manage custom provider code editor access.
Custom Provider Code object
Attributes
object
StringString representing the object's type
id
StringID of the code bucket
token
StringToken to access the code editor
expires_at
DateExpiration date of the token
{"object": "custom_server.code_editor_token","id": "example_id","token": "example_token","expires_at": "2026-02-17T16:32:57.989Z"}
Get code editor token
Get a token to access the code editor for a custom provider.
URL Parameters
custom_provider_id
StringThe unique identifier for the custom_provider
GEThttp://api.metorial.com/custom-providers/:custom_provider_id/code-editor-token
curl -X GET "https://api.metorial.com/custom-providers/cus_Rm4Mnheq2bfEPhBhP7SY/code-editor-token" \-H "Authorization: Bearer metorial_sk_..."