Load capture
/api/v3/loadcap/profilesList load capture profiles
Returns load capture profiles stored by a query-capable Enterprise node that has the performance upgrade preview enabled and an explicit --mode setting that includes query.
This endpoint requires an admin token.
curl --request GET \
"https://localhost:8181/api/v3/loadcap/profiles" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
data
objecterror
string--mode setting that includes query./api/v3/loadcap/profiles/{profile_id}Retrieve load capture profile details
Returns file counts, total size, and an anonymized catalog summary for a load capture profile. The response is the same as the profile preview.
This endpoint requires an admin token.
curl --request GET \
"https://localhost:8181/api/v3/loadcap/profiles/{profile_id}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
catalog_summary
objectquery-only captures.file_count
integerprofile_id
string <uuid>query_count
integertotal_size_bytes
integerwal_file_count
integer.pt) files in the profile.data
objecterror
string--mode setting that includes query./api/v3/loadcap/profiles/{profile_id}Delete a load capture profile
Deletes a load capture profile and its stored artifacts from object storage.
This endpoint requires an admin token.
curl --request DELETE \
"https://localhost:8181/api/v3/loadcap/profiles/{profile_id}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
data
objecterror
string--mode setting that includes query./api/v3/loadcap/profiles/{profile_id}/downloadDownload a load capture profile
Downloads the load capture profile as a gzipped tar archive containing the anonymized capture artifacts—catalog.json and .pt write-ahead log files for write and both captures, and queries.json.zst for query and both captures.
This endpoint requires an admin token.
curl --request GET \
"https://localhost:8181/api/v3/loadcap/profiles/{profile_id}/download" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
Content-Type is application/gzip and Content-Disposition provides the {profile_id}.tar.gz filename.data
objecterror
string--mode setting that includes query./api/v3/loadcap/profiles/{profile_id}/previewPreview a load capture profile
Returns file counts, total size, and an anonymized catalog summary for a load capture profile without downloading the archive. For query-only captures, catalog_summary is null.
This endpoint requires an admin token.
curl --request GET \
"https://localhost:8181/api/v3/loadcap/profiles/{profile_id}/preview" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
catalog_summary
objectquery-only captures.file_count
integerprofile_id
string <uuid>query_count
integertotal_size_bytes
integerwal_file_count
integer.pt) files in the profile.data
objecterror
string--mode setting that includes query./api/v3/loadcap/startStart a load capture
Starts a timed capture of write requests, query requests, or both on a query-capable Enterprise node that has the performance upgrade preview enabled and an explicit --mode setting that includes query.
Only one capture can run at a time on a node. This endpoint requires an admin token.
Request body required
application/jsonduration
required
string"5m"type
required
stringwrite
, query
, bothcurl --request POST \
"https://localhost:8181/api/v3/loadcap/start" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{
"duration": "5m",
"type": "write"
}'Responses
profile_id
required
string <uuid>data
objecterror
string--mode setting that includes query.Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB 3 Enterprise and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support. Customers using a trial license can email trial@influxdata.com for assistance.