İçeriğe geç

Şemalar

Uçların gönderip aldığı nesneler. İç içe nesnelerin alanları noktalı adla gösterilir.

Problem

Problem
AdTürAçıklama
typeZorunlustring
titleZorunlustring
statusZorunluinteger
codeZorunlustring
detailİsteğe bağlıstring
instanceİsteğe bağlıstring
requestIdİsteğe bağlıstring

Me

Me
AdTürAçıklama
kindZorunlu"apiKey" | "projectKey"
teamİsteğe bağlıobject | null
keyİsteğe bağlıobject
key.idİsteğe bağlıstring
key.nameİsteğe bağlıstring
key.prefixİsteğe bağlıstring
key.kindİsteğe bağlı"manual" | "cli" | "project"
key.accessİsteğe bağlıAccessProfile
projectİsteğe bağlıobject | null
project.idİsteğe bağlıstring
project.nameİsteğe bağlıstring
userİsteğe bağlıobject | null
roleİsteğe bağlıstring
permissionsİsteğe bağlıstring[]

AccessProfile

Sabit alanı yok ("full" | "agent" | "read").

DeviceAuthorization

DeviceAuthorization
AdTürAçıklama
deviceCodeZorunlustring
userCodeZorunlustring
verificationUriZorunlustring
verificationUriCompleteİsteğe bağlıstring
expiresInZorunluinteger
intervalZorunluinteger

DeviceToken

DeviceToken
AdTürAçıklama
tokenZorunlustring`pfa_…` CLI key: 30 days, invalid after 7 days unused
expiresAtİsteğe bağlıstring | null
accessZorunluAccessProfile
keyİsteğe bağlıobject
key.idİsteğe bağlıstring
key.nameİsteğe bağlıstring
key.prefixİsteğe bağlıstring
teamİsteğe bağlıobject
team.idİsteğe bağlıstring
team.nameİsteğe bağlıstring
team.slugİsteğe bağlıstring | null
userİsteğe bağlıobject
user.idİsteğe bağlıstring
user.nameİsteğe bağlıstring
user.emailİsteğe bağlıstring

ClaimResult

ClaimResult
AdTürAçıklama
projectZorunluProject
agentKeyİsteğe bağlıstring`pfa_…`, only with keepPublishing; shown once

Project

Project
AdTürAçıklama
idZorunlustring
nameZorunlustring
titleİsteğe bağlıstring | null
teamIdİsteğe bağlıstring | nullnull for an ownerless project
anonymousİsteğe bağlıobject | null
anonymous.expiresAtİsteğe bağlıstring
anonymous.claimDeadlineİsteğe bağlıstring
anonymous.expiredİsteğe bağlıboolean
takenDownİsteğe bağlıboolean
urlsZorunluobject
urls.liveİsteğe bağlıstring
liveVersionİsteğe bağlıobject | null
liveVersion.idİsteğe bağlıstring
liveVersion.numberİsteğe bağlıinteger
liveVersion.readyAtİsteğe bağlıstring
liveVersion.liveSinceİsteğe bağlıstring | null
liveVersion.createdByİsteğe bağlıActor
latestVersionİsteğe bağlıobject | null
latestVersion.idİsteğe bağlıstring
latestVersion.numberİsteğe bağlıinteger | null
latestVersion.stateİsteğe bağlıstring
latestVersion.createdAtİsteğe bağlıstring
latestVersion.createdByİsteğe bağlıActor
publishRuleZorunlu"auto" | "manual"
versionCountZorunluinteger
createdAtİsteğe bağlıstring
updatedAtİsteğe bağlıstring

Version

Version
AdTürAçıklama
idZorunlustring
projectIdZorunlustring
numberİsteğe bağlıinteger | null
stateZorunlu"created" | "uploading" | "uploaded" | "building" | "ready" | "failed" | "canceled" | "expired"
targetİsteğe bağlı"live" | "preview"
modeİsteğe bağlı"snapshot" | "additive"
sourceİsteğe bağlıstring
noteİsteğe bağlıstring
fileCountİsteğe bağlıinteger
totalBytesİsteğe bağlıinteger
manifestHashİsteğe bağlıstring
urlİsteğe bağlıstring | null
liveİsteğe bağlıboolean
errorİsteğe bağlıobject | null
error.codeİsteğe bağlıstring
error.messageİsteğe bağlıstring
createdByİsteğe bağlıActor
createdAtİsteğe bağlıstring
readyAtİsteğe bağlıstring | null
approvalİsteğe bağlıobject | nullSet when an agent's publish over the live version waits for approval
approval.statusİsteğe bağlıstring
approval.executionIdİsteğe bağlıstring | null
approval.expiresAtİsteğe bağlıstring | null
approval.approvalUrlİsteğe bağlıstring | null
gitİsteğe bağlıobject | nullGit source: trigger (github, push, ci), branch, commit { sha, message, author }, pullRequest, branchUrl (the branch preview address this version was published to; null for live and production builds)
git.triggerİsteğe bağlıstring
git.branchİsteğe bağlıstring
git.commitİsteğe bağlıobject | null
git.pullRequestİsteğe bağlıobject | null
git.branchUrlİsteğe bağlıstring | null

ApiKey

ApiKey
AdTürAçıklama
idİsteğe bağlıstring
nameİsteğe bağlıstring
prefixİsteğe bağlıstring
kindİsteğe bağlı"manual" | "cli" | "project"
accessİsteğe bağlıAccessProfile
projectIdİsteğe bağlıstring | null
createdAtİsteğe bağlıstring
lastUsedAtİsteğe bağlıstring | null
expiresAtİsteğe bağlıstring | null

AgentSession

AgentSession
AdTürAçıklama
idZorunlustring
titleİsteğe bağlıstring
statusZorunlu"starting" | "running" | "idle" | "waiting" | "paused" | "ended" | "failed"
stopReasonİsteğe bağlıstring | null
projectİsteğe bağlıobject | null
project.idİsteğe bağlıstring
project.nameİsteğe bağlıstring
budgetİsteğe bağlıobject
budget.centsİsteğe bağlıinteger
budget.spentCentsİsteğe bağlıinteger
budget.chargedCentsİsteğe bağlıinteger
outcomeİsteğe bağlıobject | null
pendingİsteğe bağlıobject[]
pending[].idİsteğe bağlıstring
pending[].toolİsteğe bağlıstring
pending[].summaryİsteğe bağlıstring
previewsİsteğe bağlıobject[]
previews[].versionIdİsteğe bağlıstring
previews[].numberİsteğe bağlıinteger | null
previews[].urlİsteğe bağlıstring | null
previews[].createdAtİsteğe bağlıstring
createdByİsteğe bağlıobject
createdAtİsteğe bağlıstring
updatedAtİsteğe bağlıstring

AgentEvent

type: user.message, agent.message, agent.tool, agent.thread, preview, outcome, status, error

AgentEvent
AdTürAçıklama
seqZorunluinteger
idİsteğe bağlıstring
typeZorunlustring
atİsteğe bağlıstring
textİsteğe bağlıstring
agentİsteğe bağlıstring | null

Usage

Usage
AdTürAçıklama
planZorunluobject
plan.codeİsteğe bağlıstring
plan.nameİsteğe bağlıstring
periodZorunluobject
period.startİsteğe bağlıstring
period.endİsteğe bağlıstring
usageZorunluobject
usage.linesİsteğe bağlıobject[]
usage.totalCentsİsteğe bağlıinteger
usage.includedCentsİsteğe bağlıinteger
usage.overageCentsİsteğe bağlıinteger
usage.billedOverageCentsİsteğe bağlıinteger
spendLimitİsteğe bağlıobject | null
spendLimit.centsİsteğe bağlıinteger
spendLimit.isDefaultİsteğe bağlıboolean
spendLimit.minCentsİsteğe bağlıinteger
spendLimit.maxCentsİsteğe bağlıinteger
stateZorunluobjectblocked: new builds are paused (live sites keep serving)
state.blockedİsteğe bağlıboolean
state.reasonİsteğe bağlı"included_usage_exhausted" | "spend_limit_reached" | null
state.ratioİsteğe bağlınumber
state.alertsSentİsteğe bağlıinteger[]
creditsZorunluobject
credits.balanceCentsİsteğe bağlıinteger
credits.planCentsİsteğe bağlıinteger
credits.packCentsİsteğe bağlıinteger

Execution

Execution
AdTürAçıklama
idZorunlustring
kindZorunlu"promote" | "publish"
statusZorunlu"pending" | "approved" | "succeeded" | "failed" | "denied" | "expired"
projectİsteğe bağlıobject | null
versionİsteğe bağlıobject | null
requestedByİsteğe bağlıobject
approvalUrlİsteğe bağlıstring
createdAtİsteğe bağlıstring
expiresAtİsteğe bağlıstring
decidedAtİsteğe bağlıstring | null
reasonİsteğe bağlıstring | null
resultİsteğe bağlıobject | null
errorİsteğe bağlıobject | null

Actor

Actor
AdTürAçıklama
kindİsteğe bağlı"user" | "apiKey" | "anonymous" | "agent"
idİsteğe bağlıstring | null
nameİsteğe bağlıstring

File

File
AdTürAçıklama
pathZorunlustring
sha256Zorunlustring
sizeZorunluinteger

PublishRequest

PublishRequest
AdTürAçıklama
projectİsteğe bağlıstring
nameİsteğe bağlıstring
titleİsteğe bağlıstring
filesZorunluFile[]min items 1
modeİsteğe bağlı"snapshot" | "additive"
targetİsteğe bağlı"live" | "preview"
noteİsteğe bağlıstringmax length 500
accessİsteğe bağlı"private" | "public"First access of a project this publish creates (not for an existing project or without an account). Public in a team that keeps new sites private needs sharing permission and a full-access key (403 access_change_forbidden)
sourceİsteğe bağlı"api" | "cli" | "mcp" | "drop" | "agent" | "git"
gitİsteğe bağlıobjectFrom CI: the branch decides live or preview (production branch) and the branch preview address when target is not given
git.branchZorunlustringmax length 255
git.commitİsteğe bağlıstringpattern ^[0-9a-fA-F]{7,64}$
git.messageİsteğe bağlıstringmax length 10000
git.authorİsteğe bağlıstringmax length 200

PublishResponse

PublishResponse
AdTürAçıklama
projectİsteğe bağlıProject
versionİsteğe bağlıVersion
noopİsteğe bağlıboolean
finalizeUrlİsteğe bağlıstring
projectKeyİsteğe bağlıstringOnly when an ownerless project is created: `pfc_…`, shown once
claimUrlİsteğe bağlıstring
expiresAtİsteğe bağlıstring
claimDeadlineİsteğe bağlıstring
uploadsİsteğe bağlıobject[]
uploads[].sha256İsteğe bağlıstring
uploads[].sizeİsteğe bağlıinteger
uploads[].urlİsteğe bağlıstring
uploads[].methodİsteğe bağlı"PUT"
uploads[].expiresAtİsteğe bağlıstring

VersionResult

VersionResult
AdTürAçıklama
projectİsteğe bağlıProject
versionİsteğe bağlıVersion
operationİsteğe bağlıobject | null

BuildLog

BuildLog
AdTürAçıklama
versionİsteğe bağlıVersion
linesİsteğe bağlıobject[]
lines[].atİsteğe bağlıstring
lines[].levelİsteğe bağlı"info" | "warn" | "error"
lines[].textİsteğe bağlıstring
doneİsteğe bağlıboolean

LogEntry

LogEntry
AdTürAçıklama
cursorİsteğe bağlıstring
atİsteğe bağlıstring
streamİsteğe bağlı"access" | "runtime" | "build"
levelİsteğe bağlı"info" | "warn" | "error"
sourceİsteğe bağlı"static" | "function" | "edge" | "redirect" | "firewall" | "external" | "build" | "platform"
messageİsteğe bağlıstring
versionİsteğe bağlıobject | null
version.idİsteğe bağlıstring
version.numberİsteğe bağlıinteger | null
requestİsteğe bağlıobject | null
request.idİsteğe bağlıstring | null
request.methodİsteğe bağlıstring | null
request.pathİsteğe bağlıstring | null
request.statusİsteğe bağlıinteger | null
request.durationMsİsteğe bağlıinteger | null
request.bytesİsteğe bağlıinteger | null
request.cacheİsteğe bağlıstring | null
request.regionİsteğe bağlıstring | null

LogPage

LogPage
AdTürAçıklama
dataİsteğe bağlıLogEntry[]
beforeİsteğe bağlıstring | null
afterİsteğe bağlıstring
retentionDaysİsteğe bağlıinteger
truncatedİsteğe bağlıboolean

ProjectMetrics

ProjectMetrics
AdTürAçıklama
rangeİsteğe bağlıstring
fromİsteğe bağlıstring
toİsteğe bağlıstring
bucketİsteğe bağlı"5m" | "hour" | "day"
measuredİsteğe bağlıobject
measured.trafficİsteğe bağlıboolean
measured.runtimeİsteğe bağlıboolean
measured.workspaceİsteğe bağlıboolean
trafficİsteğe bağlıobjectrequests, pageViews, visitors, bytes, status, errorRate, cacheHitRate, series, topPaths, topReferrers (null when not measured)
runtimeİsteğe bağlıobjectrunsCode, invocations, errors, errorRate, durationMs {p50,p95,max}, cpuMs, memory {maxMb,avgMb,limitMb}, gbHours, series
usageİsteğe bağlıobject
usage.bandwidthBytesİsteğe bağlıinteger
usage.invocationsİsteğe bağlıinteger
usage.cpuMsİsteğe bağlıinteger
usage.memoryMbMsİsteğe bağlıinteger
usage.buildSecondsİsteğe bağlıinteger
workspaceİsteğe bağlınull

ProjectAccess

ProjectAccess
AdTürAçıklama
modeİsteğe bağlı"public" | "private"
linkİsteğe bağlıobject
link.activeİsteğe bağlıboolean
link.prefixİsteğe bağlıstring | null
link.createdAtİsteğe bağlıstring | null
link.createdByİsteğe bağlıstring | null
passwordİsteğe bağlıobject
password.setİsteğe bağlıboolean
password.setAtİsteğe bağlıstring | null
peopleİsteğe bağlıobject[]
people[].idİsteğe bağlıstring
people[].emailİsteğe bağlıstring
people[].userIdİsteğe bağlıstring | null
people[].createdAtİsteğe bağlıstring
people[].createdByİsteğe bağlıstring | null
requestsİsteğe bağlıobject[]
requests[].idİsteğe bağlıstring
requests[].emailİsteğe bağlıstring
requests[].nameİsteğe bağlıstring
requests[].messageİsteğe bağlıstring
requests[].statusİsteğe bağlıstring
requests[].createdAtİsteğe bağlıstring

Domain

Domain
AdTürAçıklama
idİsteğe bağlıstring
nameİsteğe bağlıstring
statusİsteğe bağlı"pending" | "active" | "failed"
verificationİsteğe bağlıobject[]
verification[].typeİsteğe bağlıstring
verification[].domainİsteğe bağlıstring
verification[].valueİsteğe bağlıstring
dnsİsteğe bağlıobject
dns.configuredİsteğe bağlıboolean
dns.recordsİsteğe bağlıobject[]
createdAtİsteğe bağlıstring
checkedAtİsteğe bağlıstring | null
activeSinceİsteğe bağlıstring | null

Field

Field
AdTürAçıklama
nameZorunlustringpattern ^[a-z][a-zA-Z0-9_]{0,63}$
typeZorunlu"text" | "number" | "boolean" | "date" | "select" | "json" | "file" | "relation"
requiredİsteğe bağlıboolean
indexedİsteğe bağlıboolean
maxLengthİsteğe bağlıinteger
minİsteğe bağlınumber | null
maxİsteğe bağlınumber | null
integerİsteğe bağlıboolean
optionsİsteğe bağlıstring[]
collectionİsteğe bağlıstring

Rules

Rules
AdTürAçıklama
readİsteğe bağlı"public" | "secret"
createİsteğe bağlı"public" | "secret"
updateİsteğe bağlı"public" | "secret"
deleteİsteğe bağlı"public" | "secret"

Hook

Hook
AdTürAçıklama
pathZorunlustring
eventsİsteğe bağlı"create" | "update" | "delete"[]

CollectionInput

CollectionInput
AdTürAçıklama
nameZorunlustringpattern ^[a-z][a-z0-9_-]{0,63}$
fieldsZorunluField[]
rulesİsteğe bağlıRules
hookİsteğe bağlıHook | null

Collection

Collection
AdTürAçıklama
idİsteğe bağlıstring
nameİsteğe bağlıstring
fieldsİsteğe bağlıField[]
rulesİsteğe bağlıRules
hookİsteğe bağlıHook | null
recordCountİsteğe bağlıinteger | null
createdAtİsteğe bağlıstring
updatedAtİsteğe bağlıstring

Record

Record
AdTürAçıklama
idZorunlustring
createdAtZorunlustring
updatedAtZorunlustring

DataKeys

DataKeys
AdTürAçıklama
publishableİsteğe bağlıobject | null
publishable.keyİsteğe bağlıstring
publishable.createdAtİsteğe bağlıstring
secretİsteğe bağlıobject | null
secret.prefixİsteğe bağlıstring
secret.createdAtİsteğe bağlıstring
secret.createdByİsteğe bağlıobject
webhookİsteğe bağlıobject | null
webhook.createdAtİsteğe bağlıstring

HookDelivery

HookDelivery
AdTürAçıklama
idİsteğe bağlıstring
collectionİsteğe bağlıstring
typeİsteğe bağlı"record.created" | "record.updated" | "record.deleted"
statusİsteğe bağlı"pending" | "succeeded" | "failed"
attemptsİsteğe bağlıinteger
responseStatusİsteğe bağlıinteger | null
errorİsteğe bağlıstring | null
createdAtİsteğe bağlıstring
deliveredAtİsteğe bağlıstring | null
nextAttemptAtİsteğe bağlıstring | null

EnvVar

EnvVar
AdTürAçıklama
keyİsteğe bağlıstring
valueİsteğe bağlıstring | nullnull for sensitive values
sensitiveİsteğe bağlıboolean
systemİsteğe bağlıboolean
updatedAtİsteğe bağlıstring | null
updatedByİsteğe bağlıobject | null
updatedBy.kindİsteğe bağlıstring
updatedBy.nameİsteğe bağlıstring

StorageObject

StorageObject
AdTürAçıklama
pathİsteğe bağlıstring
sizeİsteğe bağlıinteger
contentTypeİsteğe bağlıstring
urlİsteğe bağlıstring | nullPublic address for public/ files
updatedAtİsteğe bağlıstring
updatedByİsteğe bağlıobject | null
updatedBy.kindİsteğe bağlıstring
updatedBy.nameİsteğe bağlıstring
downloadUrlİsteğe bağlıstring
downloadExpiresAtİsteğe bağlıstring

StorageList

StorageList
AdTürAçıklama
dataİsteğe bağlıStorageObject[]
foldersİsteğe bağlıstring[]
nextCursorİsteğe bağlıstring | null
usageİsteğe bağlıobject
usage.bytesİsteğe bağlıinteger
usage.limitİsteğe bağlıinteger | null

SftpAccount

SftpAccount
AdTürAçıklama
idİsteğe bağlıstring
labelİsteğe bağlıstring
usernameİsteğe bağlıstring
authİsteğe bağlı"password" | "publicKey"
fingerprintİsteğe bağlıstring | null
scopeİsteğe bağlıobject
scope.modeİsteğe bağlı"full" | "readonly" | "folder"
scope.folderİsteğe bağlıstring | null
allowedIpsİsteğe bağlıstring[]
expiresAtİsteğe bağlıstring | null
statusİsteğe bağlı"active" | "suspended" | "expired"
lastLoginAtİsteğe bağlıstring | null
createdAtİsteğe bağlıstring
createdByİsteğe bağlıobject
createdBy.kindİsteğe bağlıstring
createdBy.nameİsteğe bağlıstring

GitSettings

GitSettings
AdTürAçıklama
githubAvailableİsteğe bağlıbooleanWhether GitHub is set up on this Perafly (direct push works either way)
githubİsteğe bağlıobject | null
github.installationİsteğe bağlıobject
github.repositoryİsteğe bağlıobject
productionBranchİsteğe bağlıstring
autoDeployProductionİsteğe bağlıboolean
autoDeployPreviewsİsteğe bağlıboolean
pushİsteğe bağlıobject
push.urlİsteğe bağlıstring
connectedAtİsteğe bağlıstring | null
connectedByİsteğe bağlıobject | null

GitBuild

GitBuild
AdTürAçıklama
idİsteğe bağlıstring
statusİsteğe bağlı"queued" | "running" | "succeeded" | "failed" | "superseded" | "awaiting_approval" | "canceled"
triggerİsteğe bağlı"github" | "push"
branchİsteğe bağlıstring
commitİsteğe bağlıobject
commit.shaİsteğe bağlıstring
commit.messageİsteğe bağlıstring
commit.authorİsteğe bağlıstring
pullRequestİsteğe bağlıobject | null
forkİsteğe bağlıboolean
targetİsteğe bağlı"live" | "preview"
versionİsteğe bağlıobject | null
branchUrlİsteğe bağlıstring | null
skippedİsteğe bağlıstring[]
errorİsteğe bağlıobject | null
createdAtİsteğe bağlıstring
startedAtİsteğe bağlıstring | null
finishedAtİsteğe bağlıstring | null

ProjectRanking

ProjectRanking
AdTürAçıklama
rangeİsteğe bağlıstring
fromİsteğe bağlıstring
toİsteğe bağlıstring
dataİsteğe bağlıobject[]
data[].projectİsteğe bağlıobject
data[].liveİsteğe bağlıboolean
data[].requestsİsteğe bağlıinteger
data[].errorsİsteğe bağlıinteger
data[].errorRateİsteğe bağlınumber | null
data[].bytesİsteğe bağlıinteger
data[].visitorsİsteğe bağlıinteger
data[].invocationsİsteğe bağlıinteger
data[].buildSecondsİsteğe bağlıinteger

Plan

Plan
AdTürAçıklama
codeZorunlustring
nameZorunlustring
descriptionİsteğe bağlıstring | null
orderİsteğe bağlıinteger
publicİsteğe bağlıboolean
purchasableİsteğe bağlıboolean
priceCentsZorunluintegerMonthly price in US cents
includedUsageCentsİsteğe bağlıintegerUsage included in the monthly price, in US cents
agentCreditsCentsİsteğe bağlıintegerBuilt-in agent credit granted each month, in US cents
limitsZorunlumap<string, number | null>Plan limits; null means no limit
featuresZorunlumap<string, boolean>
ratesİsteğe bağlımap<string, object>Metered usage rates beyond the included usage

Operation

Operation
AdTürAçıklama
idİsteğe bağlıstring
kindİsteğe bağlı"publish" | "promote"
statusİsteğe bağlı"running" | "succeeded" | "failed"
projectIdİsteğe bağlıstring | null
versionIdİsteğe bağlıstring | null
errorİsteğe bağlıobject | null
createdAtİsteğe bağlıstring
finishedAtİsteğe bağlıstring | null