Retrieves data or executes operations on a specified endpoint using the Rapida API.
Parameters
Configuration for the client connection.
request
GetEndpointRequest
required
A unique identifier for the endpoint. This is a mandatory field for the request.
An optional identifier for the provider model associated with the endpoint.
Usage
from rapida import (
ConnectionConfig,
GetEndpointRequest,
get_endpoint
)
from pprint import pprint
connection_config = ConnectionConfig.default_connection_config(
ConnectionConfig.with_sdk("{your-rapida-api-key}")
)
response = get_endpoint(
client_cfg=connection_config,
request=GetEndpointRequest(id=2223006263292198912),
)
pprint(response)
Response
Numeric status code for the operation.
Indicates whether the operation was successful.
Detailed information about the endpoint.
Unique identifier for the endpoint.
Operational status of the endpoint.
Visibility status of the endpoint.
Identifier mapping to the endpoint’s source.
Associated project identifier.
Associated organization identifier.
Model identifier tied to the endpoint provider.
Selected language configuration for the endpoint.
Name assigned to the endpoint.
Description of the endpoint’s purpose.
Timestamp of endpoint creation.
Timestamp of last endpoint update.
Identifier of the creator.
Identifier of the last updater.
Error information, if applicable.
Machine-readable error code.