cURL
curl --request POST \ --url https://api.promptlayer.com/rest/track-group \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <x-api-key>' \ --data ' { "request_id": 123, "group_id": 123 } '
{ "success": true, "message": "<string>" }
pl_group_id = promptlayer_client.group.create() import requests response = requests.post( "https://api.promptlayer.com/rest/track-group", headers={"X-API-KEY": "<YOUR_API_KEY>"}, json={ "request_id": "<REQUEST_ID>", "group_id": pl_group_id, }, )
Your PromptLayer API Key.
The unique identifier for the request.
The unique identifier for the group to be associated with the request.
Group tracked successfully
Was this page helpful?