POST /accounts/{account_id}/storage/kv/namespaces/{namespace_id}/bulk/get
Get multiple KV pairs from the namespace. Body should contain keys to retrieve at most 100. Keys must contain text-based values. If value is json, it can be requested to return in JSON, instead of string. Metadata can be return if withMetadata is true.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
Name | Type | Required | Description |
---|---|---|---|
account_id |
String | Yes | |
namespace_id |
String | Yes |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
withMetadata |
Boolean | No |
Whether to include metadata in the response Default value: false |
type |
String | No |
Whether to parse JSON values in the response Possible values:
Default value: "text" |
keys[] |
Array | Yes |
Array of keys to retrieve (maximum 100) |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.