Skip to content

Terminate a profiling session early. By default, profiling sessions run for either 20 minutes or up to 10,000 SDK requests, whichever comes first.

Once ended, a session’s status is processing__sys while Vault prepares the data, which may take about 15 minutes. Once the status is complete__sys, the data is available for download with the Download Profiling Session Results endpoint.

POST/api/{version}/code/profiler/{session_name}/actions/end
NameDescription
Acceptapplication/json
NameDescription
{session_name}The name of the session, for example, baseline__c.
curl -X GET -H "Authorization: {SESSION_ID}" \ https://myvault.veevavault.com/api/v25.1/code/profiler/baseline__c/actions/end
{ "responseStatus": "SUCCESS" }

On SUCCESS, the Vault ends the profiling session. The session’s status becomes processing__sys while Vault prepares the data, which may take about 15 minutes.