Skip to content

Observability

All operations require authentication.

18 operationsv1/ovhCloudConnect/{serviceName}
Agent setup

List incidentsProduction

GET
/1.0/ovhCloudConnect/{serviceName}/incident

Returns the IDs of the incidents and planned maintenances affecting the service.

Path parameters

serviceName
required
stringuuid

Service name

Response

200integer[]successful operation

Example uses serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/incident \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ 0]

List log kindsProduction

GET
/1.0/ovhCloudConnect/{serviceName}/log/kind

Returns the names of the log kinds OVHcloud Connect emits, which can be forwarded to a stream.

Path parameters

serviceName
required
stringuuid

Service name

Response

200string[]successful operation

Example uses serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/log/kind \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ "string"]

List interfacesProduction

GET
/1.0/ovhCloudConnect/{serviceName}/interface

Returns the IDs of the service's physical ports.

Path parameters

serviceName
required
stringuuid

Service name

Response

200integer[]successful operation

Example uses serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/interface \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ 0]

List log subscriptionsProduction

GET
/1.0/ovhCloudConnect/{serviceName}/log/subscription

Returns the identifiers of the OVHcloud Connect log subscriptions. Set kind to restrict the list to one log kind.

Path parameters

serviceName
required
stringuuid

Service name

Query parameters

kind
string

Filter on a specific kind (e.g., audit)

Response

200string[]successful operation

Example uses serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/log/subscription \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ "00000000-0000-0000-0000-000000000000"]

List notificationsProduction

GET
/1.0/ovhCloudConnect/{serviceName}/monitoring

Returns each alert type available on the service and whether it is active.

Path parameters

serviceName
required
stringuuid

Service name

Response

200Monitoring[]successful operation
activated
read-only
boolean

Whether alert is activated

description
read-only
string

Description of the monitoring alert

name
read-only
string

Name of the monitoring alert

type
read-only
string

Type of the monitoring alert

Example uses serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/monitoring \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ { "activated": true, "description": "string", "name": "string", "type": "string" }]

Get incidentProduction

GET
/1.0/ovhCloudConnect/{serviceName}/incident/{id}

Returns whether it is an incident or a maintenance, with its start and end dates.

Path parameters

id
required
integer

Id

serviceName
required
stringuuid

Service name

Response

200Incidentsuccessful operation
endDate
read-only
stringdate-time

Ending date of the incident

id
read-only
integer

Incident reference

startDate
read-only
stringdate-time

Starting date of the incident

type
read-only
TypeEnum

Type of incident

Valuesincidentmaintenance

Example uses id = 0, serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/incident/{id} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "endDate": "2024-01-01T12:00:00Z", "id": 0, "startDate": "2024-01-01T12:00:00Z", "type": "incident"}

Get a log kindProduction

GET
/1.0/ovhCloudConnect/{serviceName}/log/kind/{name}

Returns a log kind and the additional fields its logs carry.

Path parameters

name
required
string

Name

serviceName
required
stringuuid

Service name

Response

200LogKindsuccessful operation
additionalReturnedFields
read-only
string[]

List of additional log fields managed in this log kind

createdAt
read-only
stringdate-time

Creation date of the log kind

displayName
read-only
string

Log kind display name

kindId
read-only
stringuuid

Log kind ID

name
read-only
string

Log kind name

updatedAt
read-only
stringdate-time

Last update date of the log kind

Example uses name = string, serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/log/kind/{name} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "additionalReturnedFields": [ "string" ], "createdAt": "2024-01-01T12:00:00Z", "displayName": "string", "kindId": "00000000-0000-0000-0000-000000000000", "name": "string", "updatedAt": "2024-01-01T12:00:00Z"}

Get interfaceProduction

GET
/1.0/ovhCloudConnect/{serviceName}/interface/{id}

Returns the port's location, patch panel, status, connector type and optical light levels.

Path parameters

id
required
integer

Id

serviceName
required
stringuuid

Service name

Response

200Interfacesuccessful operation
deviceDisplayName
read-only
string

Patch panel name

deviceRackDisplayName
read-only
string

Equipment name in the rack

id
read-only
integer

Interface reference

incomingLightStatus
read-only
LightStatusEnum

Status of the light received on the port (checked every 5 min)

Valuesdownunknownup
incomingLightValue
read-only
number

Value of the light received on the port (checked every 5 min)

interfaceName
read-only
string

Port location

interfaceStatus
read-only
LightStatusEnum

Status of the interface

Valuesdownunknownup
interfaceStatusLastUpdate
read-only
stringdate-time

Date of the last interface status change detected

interfaceTerminationType
read-only
TerminationTypeEnum

Fiber termination type

ValuesLC/PCSC/PC
lightLastUpdate
read-only
stringdate-time

Date of the last light change detected

outgoingLightStatus
read-only
LightStatusEnum

Status of the light emitted on the port (checked every 5 min)

Valuesdownunknownup
outgoingLightValue
read-only
number

Value of the light emitted on the port (checked every 5 min)

status
read-only
StatusEnum

Status of the port

Valuesdisabledenabledreserved

Example uses id = 0, serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/interface/{id} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "deviceDisplayName": "string", "deviceRackDisplayName": "string", "id": 0, "incomingLightStatus": "down", "incomingLightValue": 0, "interfaceName": "string", "interfaceStatus": "down", "interfaceStatusLastUpdate": "2024-01-01T12:00:00Z", "interfaceTerminationType": "LC/PC", "lightLastUpdate": "2024-01-01T12:00:00Z", "outgoingLightStatus": "down", "outgoingLightValue": 0, "status": "disabled"}

Get a log subscriptionProduction

GET
/1.0/ovhCloudConnect/{serviceName}/log/subscription/{subscriptionId}

Returns the log kind and the destination stream of a subscription.

Path parameters

serviceName
required
stringuuid

Service name

subscriptionId
required
stringuuid

Subscription ID

Response

200LogSubscriptionsuccessful operation
createdAt
read-only
stringdate-time

Creation date of the subscription

kind
read-only
string

Log kind name of this subscription

resource
read-only
SubscriptionResource

Subscribed resource, where the logs come from

serviceName
read-only
string

Name of the destination log service

streamId
read-only
string

Id of the destination log stream

subscriptionId
read-only
stringuuid

Subscription ID

updatedAt
read-only
stringdate-time

Last update date of the subscription

Example uses serviceName = 00000000-0000-0000-0000-000000000000, subscriptionId = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/log/subscription/{subscriptionId} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "createdAt": "2024-01-01T12:00:00Z", "kind": "string", "resource": { "name": "string", "type": "string" }, "serviceName": "string", "streamId": "string", "subscriptionId": "00000000-0000-0000-0000-000000000000", "updatedAt": "2024-01-01T12:00:00Z"}

Create a log subscriptionProduction

POST
/1.0/ovhCloudConnect/{serviceName}/log/subscription

Forwards OVHcloud Connect logs of one kind to a Logs Data Platform stream. The subscription is created asynchronously and the response returns the operation identifier.

Path parameters

serviceName
required
stringuuid

Service name

Request body (required)

kind
required
string

Log kind name to subscribe to

streamId
required
stringuuid

Customer log stream ID

Response

200LogSubscriptionResponsesuccessful operation
operationId
read-only
stringuuid

Identifier of the operation

serviceName
read-only
string

Operation owner's service name

Example uses serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/log/subscription \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "operationId": "00000000-0000-0000-0000-000000000000", "serviceName": "string"}

Get BGP session statusBeta

GET
/1.0/ovhCloudConnect/{serviceName}/config/pop/{popId}/status

Returns whether the L3 BGP session is up or down, with its flap count and last changes.

Path parameters

popId
required
integer

Pop ID

serviceName
required
stringuuid

Service name

Response

200PopConfStatussuccessful operation
flapCount
read-only
number

Number of flap since last UP

lastChange
read-only
stringdate-time

Last time the interface changed status

lastDown
read-only
stringdate-time

Last time the interface status went from up to down

lastFlap
read-only
stringdate-time

Last time the session flapped

lastUp
read-only
stringdate-time

Last time the interface status went from down to up

lastUpdate
read-only
stringdate-time

Last time the status was updated

status
read-only
StatusEnum

Status of the peering

Valuesdownup

Example uses popId = 0, serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/config/pop/{popId}/status \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "flapCount": 0, "lastChange": "2024-01-01T12:00:00Z", "lastDown": "2024-01-01T12:00:00Z", "lastFlap": "2024-01-01T12:00:00Z", "lastUp": "2024-01-01T12:00:00Z", "lastUpdate": "2024-01-01T12:00:00Z", "status": "down"}

Generate a temporary log URLProduction

POST
/1.0/ovhCloudConnect/{serviceName}/log/url

Generates a temporary URL to read the logs of one kind. The URL expires.

Path parameters

serviceName
required
stringuuid

Service name

Request body (required)

kind
required
string

Log kind name

Response

200TemporaryLogsLinksuccessful operation
expirationDate
read-only
stringdate-time

Temporary url expiration date

url
read-only
string

Temporary url

Example uses serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/log/url \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "expirationDate": "2024-01-01T12:00:00Z", "url": "string"}

Get BGP prefix statisticsBeta

GET
/1.0/ovhCloudConnect/{serviceName}/config/pop/{popId}/statistics

Returns accepted BGP prefixes and the prefix limit over time for this PoP configuration.

Path parameters

popId
required
integer

Pop ID

serviceName
required
stringuuid

Service name

Query parameters

period
required
MetricsPeriodEnum

The period the statistics are fetched for

Valuesdailyhourlyweekly
type
required
MetricsTypeEnum

The type of statistic to be fetched

Valuesprefix:acceptedprefix:limit

Response

200Metrics[]successful operation
timestamp
read-only
integer

timestamp corresponding to the value

value
read-only
MetricsValue

OVHcloud Connect Metrics value

Example uses popId = 0, serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/config/pop/{popId}/statistics \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ { "timestamp": 0, "value": { "unit": "bits/s", "value": 0 } }]

Get interface statusBeta

GET
/1.0/ovhCloudConnect/{serviceName}/interface/{id}/status

Returns whether the port is up or down, with its last up, down and change times.

Path parameters

id
required
integer

Id

serviceName
required
stringuuid

Service name

Response

200InterfaceStatussuccessful operation
lastChange
read-only
stringdate-time

Last time the interface changed status

lastDown
read-only
stringdate-time

Last time the interface status went from up to down

lastUp
read-only
stringdate-time

Last time the interface status went from down to up

lastUpdate
read-only
stringdate-time

Last time the status was updated

status
read-only
StatusEnum

Status of the interface

Valuesdownup

Example uses id = 0, serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/interface/{id}/status \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "lastChange": "2024-01-01T12:00:00Z", "lastDown": "2024-01-01T12:00:00Z", "lastUp": "2024-01-01T12:00:00Z", "lastUpdate": "2024-01-01T12:00:00Z", "status": "down"}

Get interface statisticsProduction

GET
/1.0/ovhCloudConnect/{serviceName}/interface/{id}/statistics

Returns a time series of traffic, errors or optical levels for the chosen period.

Path parameters

id
required
integer

Id

serviceName
required
stringuuid

Service name

Query parameters

period
required
MetricsPeriodEnum

The period the statistics are fetched for

Valuesdailyhourlyweekly
type
required
MetricsTypeEnum

The type of statistic to be fetched

Valueserror:downloaderror:uploadlight:inlight:outtraffic:downloadtraffic:downloadBpstraffic:uploadtraffic:uploadBps

Response

200Metrics[]successful operation
timestamp
read-only
integer

timestamp corresponding to the value

value
read-only
MetricsValue

OVHcloud Connect Metrics value

Example uses id = 0, serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/interface/{id}/statistics \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ { "timestamp": 0, "value": { "unit": "bits/s", "value": 0 } }]

Delete a log subscriptionProduction

DELETE
/1.0/ovhCloudConnect/{serviceName}/log/subscription/{subscriptionId}

Deletes the subscription and stops forwarding OVHcloud Connect logs to the stream.

Path parameters

serviceName
required
stringuuid

Service name

subscriptionId
required
stringuuid

Subscription ID

Response

200LogSubscriptionResponsesuccessful operation
operationId
read-only
stringuuid

Identifier of the operation

serviceName
read-only
string

Operation owner's service name

Example uses serviceName = 00000000-0000-0000-0000-000000000000, subscriptionId = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/log/subscription/{subscriptionId} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "operationId": "00000000-0000-0000-0000-000000000000", "serviceName": "string"}

Set notificationsProduction

POST
/1.0/ovhCloudConnect/{serviceName}/monitoring

Activates exactly the alert types listed; any type left out is turned off.

Path parameters

serviceName
required
stringuuid

Service name

Request body (required)

subscriptions
string[]

List of subscriptions alerts.

Response

200—successful operation

Example uses serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/monitoring \
  -H "authorization: Bearer $OVH_TOKEN"

Disable all notificationsProduction

DELETE
/1.0/ovhCloudConnect/{serviceName}/monitoring

Turns off every alert of the service.

Path parameters

serviceName
required
stringuuid

Service name

Response

200—successful operation

Example uses serviceName = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/ovhCloudConnect/{serviceName}/monitoring \
  -H "authorization: Bearer $OVH_TOKEN"