Get Series Post

Get Series Post
Get series metadata

Returns a list of time series matching the label selectors. Accepts parameters as a form-urlencoded request body.

Request
URI
POST
https://{vcf-operations-fqdn}/api/v1/series
COPY
Request Body
Authentication
This operation uses the following authentication methods.
Responses
200

Successful response

Returns PrometheusResponse of type(s) application/json
{
    "status": "string",
    "data": {},
    "pageInfo": {
        "nextPageToken": "eyJuYW1lIjoiY3B1LnVzYWdlIiwidGltZXN0YW1wIjoxNjAwMDAwMDAwfQ==",
        "pageSize": 50
    },
    "errorType": "string",
    "error": "string",
    "warnings": [
        "string"
    ],
    "infos": [
        "string"
    ]
}
string
status
Required  

API execution status.

Enumeration: success, error
object
data
Required  

Loose object reference for circumventing OpenAPI Generator's oneOf() problem for client SDK

object
pageInfo
Optional

Pagination metadata for paginated responses.

string
errorType
Optional

Type of an error. This field is set only if status is "error". The data field may still hold additional data.

string
error
Optional

Error message returned when the query fails. This field is set only if status is "error". The data field may still hold additional data.

array of string
warnings
Optional

Warnings generated during API execution. This field is set only if there were warnings while executing the request. The data field will still hold additional data.

array of string
infos
Optional

Info generated during API execution. This field is set only if there were info-level messages while executing the request.


400

Bad request

Operation doesn't return any data structure

401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

422

Unprocessable Entity - Query cannot be executed

Operation doesn't return any data structure

429

Too Many Requests - Rate limit exceeded

Operation doesn't return any data structure

Response Headers

integer
Retry-After

Number of seconds to wait before retrying


500

Internal server error

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/x-www-form-urlencoded' -d 'sourceId=string&match=string' https://{api_host}/api/v1/series