Methods
- TypeScript
- Python
- Rust
List attachments
TypeScript
GET /v1/projects/{id}/attachmentsList project API keysTypeScript
GET /v1/projects/{projectId}/api-keysList webhook API versionsTypeScript
GET /v1/projects/{projectId}/webhooks/api-versionsList webhook destinationsTypeScript
GET /v1/projects/{projectId}/webhooks/destinationsList webhook egress addressesTypeScript
GET /v1/projects/{projectId}/webhooks/egress-addressesList webhook event typesTypeScript
GET /v1/projects/{projectId}/webhooks/event-typesDownload attachmentTypeScript
GET /v1/projects/{id}/attachments/{attachmentId}/contentGet projectTypeScript
GET /v1/projects/{projectId}Get attachmentTypeScript
GET /v1/projects/{id}/attachments/{attachmentId}Get metrics backfill statusTypeScript
GET /v1/projects/{projectId}/metrics/backfillGet metrics SQL schemaTypeScript
GET /v1/projects/{projectId}/metrics/queryGet webhook destinationTypeScript
GET /v1/projects/{projectId}/webhooks/destinations/{destinationId}Get webhook event schemaTypeScript
GET /v1/projects/{projectId}/webhooks/event-types/{eventType}/schemaCreate project API keyTypeScript
POST /v1/projects/{projectId}/api-keysCreate webhook destinationTypeScript
POST /v1/projects/{projectId}/webhooks/destinationsQuery metricsTypeScript
POST /v1/projects/{projectId}/metrics/queryRetry webhook deliveryTypeScript
POST /v1/projects/{projectId}/webhooks/destinations/{destinationId}/retriesRotate webhook signing secretTypeScript
POST /v1/projects/{projectId}/webhooks/destinations/{destinationId}/secret-rotationsUpload attachmentTypeScript
POST /v1/projects/{id}/attachmentsUpdate projectTypeScript
PATCH /v1/projects/{projectId}Update project API key permissionsTypeScript
PATCH /v1/projects/{projectId}/api-keys/{apiKeyId}Update webhook destinationTypeScript
PATCH /v1/projects/{projectId}/webhooks/destinations/{destinationId}Delete projectTypeScript
DELETE /v1/projects/{projectId}Delete webhook destinationTypeScript
DELETE /v1/projects/{projectId}/webhooks/destinations/{destinationId}Revoke project API keyTypeScript
DELETE /v1/projects/{projectId}/api-keys/{apiKeyId}Resources
Models
AttachmentPage
array of Attachment
required
string
Continue with this token, even if items is empty. Omitted when no more pages remain.
ListProjectApiKeysResponse
array of ApiKey
required
ListWebhookApiVersionsResponse
array of WebhookApiVersion
required
"@photon-hq/contracts"
required
string
required
WebhookDestinationPage
array of WebhookDestination
required
string
ListWebhookEgressAddressesResponse
array of string (ipv4)
required
Every public IPv4 address webhook deliveries can originate from. Allow-list all of them; deliveries are spread across every address.
ListWebhookEventTypesResponse
One of: SelectableWebhookEventCatalogstring (date)
required
"@photon-hq/contracts"
required
array of WebhookEventType
required
string
required
WebhookApiVersionRetirement | null
required
true
required
SelectableWebhookApiVersionStatus
required
string (date) | null
required
string (date)
required
"@photon-hq/contracts"
required
array of WebhookEventType
required
string
required
WebhookApiVersionRetirement
required
false
required
"deprecated"
required
string (date) | null
required
Project
AgentProfile
required
ProjectBillingInitialization
string (date-time)
required
string | null
required
string | null
required
ProjectCreatedByActorKind | null
required
string (date-time) | null
required
string
required
string
required
string
required
string
required
string (date-time)
required
Attachment
string
required
string (date-time)
required
string
string
required
object
string
required
integer
required
string (date-time)
required
GetMessageMetricsBackfillResponse
integer
required
string (date-time) | null
required
integer
required
MessageMetricsBackfillState
required
string (date)
required
GetMessageMetricsSqlSchemaResponse
MessageMetricsSqlCapabilities
required
string
required
MessageMetricsSqlLimits
required
true
required
array of MessageMetricsSqlTable
required
string (date)
required
WebhookDestination
string (date)
required
string (date-time)
required
string (date-time) | null
required
string | null
required
string
required
WebhookEventSelection
required
string
required
string
required
WebhookDestinationStatus
required
string (date-time)
required
string (uri)
required
CreateProjectApiKeyResponse
ApiKey
required
string
required
CreateWebhookDestinationResponse
WebhookDestination
required
string
required
QueryMessageMetricsResponse
array of MessageMetricsQueryColumn
required
array of array of object
required
MessageMetricsQueryStatistics
required
RetryWebhookDeliveryResponse
"accepted"
required
RotateWebhookSigningSecretResponse
string (date-time) | null
required
string
required
ProjectApiKeyResponse
ApiKey
required