تیمها
اعضا، نقشها، دعوتها و تیمهای مشترک.
/v1/meThe person and their teams#
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پاسخ
200Me
personPerson | nullالزامیidstring (uuid)الزامیemailstringالزامیphonestring | null
teamTeamالزامیidstring (uuid)الزامیnamestringالزامیpersonalbooleanrolestringالزامیone of
owner,admin,developer,billing,viewer
teamsTeam[]الزامیidstring (uuid)الزامیnamestringالزامیpersonalbooleanrolestringالزامیone of
owner,admin,developer,billing,viewer
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/me" \
-H "Authorization: Bearer $KEY"/v1/me/teamSwitch the session's team#
- دسترسی
- فقط نشست داشبورد (کلید API پذیرفته نمیشود)
- نقشها
- همهٔ نقشها
بدنهٔ درخواستapplication/json
teamstring (uuid)الزامی
پاسخ
200object
teamstring (uuid)rolestringone of
owner,admin,developer,billing,viewer
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | Bad request: bad_json |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 403 | Not allowed: session_only |
| 404 | Not found: not_found |
| 500 | internal: an unexpected failure |
نمونه
curl -X POST "https://api.ibel.ai/v1/me/team" \
-H "Authorization: Bearer $SESSION" \
-d '{"team":"8c1e0c55-1f2a-4d3b-9e8f-0a1b2c3d4e5f"}'/v1/teamsMake a shared team#
- دسترسی
- فقط نشست داشبورد (کلید API پذیرفته نمیشود)
- نقشها
- همهٔ نقشها
بدنهٔ درخواستapplication/json
namestringالزامی1–60 characters
پاسخ
201object
idstring (uuid)namestring
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | Bad request: bad_name, bad_json |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 403 | Not allowed: session_only |
| 500 | internal: an unexpected failure |
نمونه
curl -X POST "https://api.ibel.ai/v1/teams" \
-H "Authorization: Bearer $SESSION" \
-d '{"name":"Shop team"}'/v1/team/membersMembers and open invites#
invites is filled only for admins and owners. seats: members that take a developer seat.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پاسخ
200object
membersMember[]الزامیidstring (uuid)الزامیemailstringالزامیrolestringالزامیone of
owner,admin,developer,billing,viewercreated_atstring (date-time)youbooleanseatbooleantakes a developer seat: owner, admin or developer
restrictedbooleanlimited to chosen projects
groupsobject[]idstring (uuid)namestring
seatsintegerinvitesInvite[]الزامیidstring (uuid)الزامیemailstringالزامیrolestringالزامیone of
owner,admin,developer,billing,viewerexpires_atstring (date-time)created_atstring (date-time)seatbooleanthe role takes a developer seat when they join
restrictedbooleanlimited to chosen projects
groupsstring (uuid)[]
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/team/members" \
-H "Authorization: Bearer $KEY"/v1/team/invitesInvite a person by email#
An admin or developer invite needs a seat: refused on Hobby (one seat, the owner's); on Pro the wallet must pay the seat now (charged when the invite is accepted).
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- مالک، ادمین
- تایید دوم
- با نشست داشبورد، عامل دوم در ۱۰ دقیقهٔ اخیر لازم است؛ کلید API نیازی ندارد.
بدنهٔ درخواستapplication/json
emailstringالزامیrolestringone of
admin,developer,billing,viewer· default"developer"restrictedbooleandeveloper or viewer only: the member joins limited to chosen projects
groupsstring (uuid)[]access groups the member joins (with restricted: true)
0–20 items
پاسخ
200object
invitestring (uuid)emailstringrolestringone of
owner,admin,developer,billing,viewerexpires_in_daysinteger
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | Bad request: bad_email, bad_role, bad_json |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 402 | Payment required: insufficient_balance |
| 403 | Not allowed: forbidden, role_too_wide, step_up_required |
| 409 | Conflict: member, seat_limit |
| 429 | Too many requests: rate_limited |
| 500 | internal: an unexpected failure |
نمونه
curl -X POST "https://api.ibel.ai/v1/team/invites" \
-H "Authorization: Bearer $KEY" \
-d '{"email":"you@example.com"}'/v1/team/invites/{id}Withdraw an invite#
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- مالک، ادمین
پارامترها
idstring (uuid)مسیرالزامیinvite id
پاسخ
200object
deletedboolean
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 403 | Not allowed: forbidden |
| 404 | Not found: not_found |
| 500 | internal: an unexpected failure |
نمونه
curl -X DELETE "https://api.ibel.ai/v1/team/invites/88e2fe1d-6d75-4de5-8c8f-27380ec66903" \
-H "Authorization: Bearer $KEY"/v1/team/invites/lookupWhat an invite link is for#
- دسترسی
- بدون اعتبارنامه
پارامترها
tokenstringکوئریthe invite token
پاسخ
200object
teamstringemailstringrolestringone of
owner,admin,developer,billing,viewer
خطاها
| وضعیت | توضیح |
|---|---|
| 404 | Not found: bad_invite |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/team/invites/lookup"/v1/team/invites/acceptJoin a team with an invite#
Joining with a seat role charges the team's wallet for the seat (the days left in the month).
- دسترسی
- فقط نشست داشبورد (کلید API پذیرفته نمیشود)
- نقشها
- همهٔ نقشها
بدنهٔ درخواستapplication/json
tokenstringالزامی
پاسخ
200object
teamstring (uuid)rolestringone of
owner,admin,developer,billing,viewer
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | Bad request: bad_invite, bad_json |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 402 | Payment required: insufficient_balance |
| 403 | Not allowed: bad_invite, session_only |
| 404 | Not found: bad_invite |
| 409 | Conflict: seat_limit |
| 500 | internal: an unexpected failure |
نمونه
curl -X POST "https://api.ibel.ai/v1/team/invites/accept" \
-H "Authorization: Bearer $SESSION" \
-d '{"token":"…"}'/v1/team/members/{person}Remove a member, or leave#
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- owner, admin to remove others (not a wider role); any member to leave
- تایید دوم
- با نشست داشبورد، عامل دوم در ۱۰ دقیقهٔ اخیر لازم است؛ کلید API نیازی ندارد.
پارامترها
personstring (uuid)مسیرالزامیthe person's id
پاسخ
200object
removedstring (uuid)
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 403 | Not allowed: forbidden, step_up_required |
| 404 | Not found: not_found |
| 409 | Conflict: last_owner, personal |
| 500 | internal: an unexpected failure |
نمونه
curl -X DELETE "https://api.ibel.ai/v1/team/members/5b0f4c2e-8f1d-4a7e-9c3b-2d6e1f0a9b8c" \
-H "Authorization: Bearer $KEY"/v1/team/members/{person}Change a member's role#
To a seat role from viewer or billing: refused on Hobby; on Pro the days left in the month are charged now. To a free role: no refund, the seat stays paid to the month's end.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- مالک
- تایید دوم
- با نشست داشبورد، عامل دوم در ۱۰ دقیقهٔ اخیر لازم است؛ کلید API نیازی ندارد.
پارامترها
personstring (uuid)مسیرالزامیthe person's id
بدنهٔ درخواستapplication/json
rolestringone of
owner,admin,developer,billing,viewerrestrictedbooleanlimit a developer or viewer to chosen projects (access groups), or give the whole team back
پاسخ
200object
personstring (uuid)rolestringone of
owner,admin,developer,billing,viewer
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | Bad request: bad_role, bad_json |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 402 | Payment required: insufficient_balance |
| 403 | Not allowed: forbidden, step_up_required |
| 404 | Not found: not_found |
| 409 | Conflict: last_owner, seat_limit |
| 500 | internal: an unexpected failure |
نمونه
curl -X PATCH "https://api.ibel.ai/v1/team/members/5b0f4c2e-8f1d-4a7e-9c3b-2d6e1f0a9b8c" \
-H "Authorization: Bearer $KEY" \
-d '{"role":"owner","restricted":true}'/v1/teamDelete the current shared team#
- دسترسی
- فقط نشست داشبورد (کلید API پذیرفته نمیشود)
- نقشها
- مالک
- تایید دوم
- با نشست داشبورد، عامل دوم در ۱۰ دقیقهٔ اخیر لازم است؛ کلید API نیازی ندارد.
پاسخ
200object
deletedstring
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 403 | Not allowed: forbidden, step_up_required, session_only |
| 409 | Conflict: personal, not_empty, unpaid, balance |
| 500 | internal: an unexpected failure |
نمونه
curl -X DELETE "https://api.ibel.ai/v1/team" \
-H "Authorization: Bearer $SESSION"- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- مالک، ادمین
بدنهٔ درخواستapplication/json
namestringالزامی1–60 characters
پاسخ
200object
idstring (uuid)namestring
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | Bad request: bad_name, bad_json |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 403 | Not allowed: forbidden |
| 500 | internal: an unexpected failure |
نمونه
curl -X PATCH "https://api.ibel.ai/v1/team" \
-H "Authorization: Bearer $KEY" \
-d '{"name":"Shop team"}'/v1/team/envList shared variables#
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پارامترها
environmentstringکوئریthe variables that apply there
one of
production,preview,developmentkeystringکوئریone key
projectstringکوئریthe ones linked to this app or function
decryptstringکوئری1: plain values (owner, admin, developer)
one of
1
پاسخ
200EnvVarList
variablesEnvVar[]الزامیidstring (uuid)الزامیkeystringالزامیpattern
^[A-Za-z_][A-Za-z0-9_]{0,63}$environmentsstring[]الزامیbranchstring | nullالزامیa git branch; only with environments [preview]
scopestringالزامیteam: a shared variable
one of
project,teamtypestringالزامیsensitive: never shown again, production and preview only
one of
plain,sensitivevaluestring | nullالزامیthe text only when revealed (?decrypt=1) and plain
created_atstring (date-time)updated_atstring (date-time)created_byobject | nulltypestringone of
person,keynamestring | null
updated_byobject | nulltypestringone of
person,keynamestring | null
projectsobject[]shared variables only
namestringkindstringone of
function,app
sharedEnvVar[]a project's list: the team's shared variables linked to it
idstring (uuid)الزامیkeystringالزامیpattern
^[A-Za-z_][A-Za-z0-9_]{0,63}$environmentsstring[]الزامیbranchstring | nullالزامیa git branch; only with environments [preview]
scopestringالزامیteam: a shared variable
one of
project,teamtypestringالزامیsensitive: never shown again, production and preview only
one of
plain,sensitivevaluestring | nullالزامیthe text only when revealed (?decrypt=1) and plain
created_atstring (date-time)updated_atstring (date-time)created_byobject | nulltypestringone of
person,keynamestring | null
updated_byobject | nulltypestringone of
person,keynamestring | null
projectsobject[]shared variables only
namestringkindstringone of
function,app
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | Bad request: bad_environments |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 403 | Not allowed: forbidden |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/team/env" \
-H "Authorization: Bearer $KEY"/v1/team/envAdd or import shared variables#
Linked to the apps and functions in projects; a project's own variable with the same key wins.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- مالک، ادمین، توسعهدهنده
بدنهٔ درخواستapplication/json
one of: {key, value, …}, {variables: [...]}, {dotenv}
keystringvaluestringup to 5120 characters
variablesEnvVarInput[]several, up to 128
keystringالزامیvaluestringالزامیup to 5120 characters
environmentsstring[]default: all three; production and preview when sensitive; preview with a branch
branchstringa git branch: only its previews
typestringone of
plain,sensitivesensitiveboolean
dotenvstring.env text to import
environmentsstring[]for every row that leaves them out
branchstringprojects only
typestringone of
plain,sensitivesensitivebooleanupsertbooleanreplace the value of a variable with the same key, branch and environments
projectsstring[]shared variables only: the apps and functions it reaches
پاسخ
201EnvVarAdded
variablesEnvVar[]الزامیidstring (uuid)الزامیkeystringالزامیpattern
^[A-Za-z_][A-Za-z0-9_]{0,63}$environmentsstring[]الزامیbranchstring | nullالزامیa git branch; only with environments [preview]
scopestringالزامیteam: a shared variable
one of
project,teamtypestringالزامیsensitive: never shown again, production and preview only
one of
plain,sensitivevaluestring | nullالزامیthe text only when revealed (?decrypt=1) and plain
created_atstring (date-time)updated_atstring (date-time)created_byobject | nulltypestringone of
person,keynamestring | null
updated_byobject | nulltypestringone of
person,keynamestring | null
projectsobject[]shared variables only
namestringkindstringone of
function,app
createdintegerالزامیupdatedintegerالزامی
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | Bad request: bad_variable, bad_key, bad_value, bad_environments, bad_type, bad_branch, sensitive_development, policy_sensitive, bad_dotenv, duplicate, bad_projects, bad_json |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 403 | Not allowed: forbidden |
| 404 | Not found: not_found |
| 409 | Conflict: env_conflict, sensitive, too_many |
| 500 | internal: an unexpected failure |
نمونه
curl -X POST "https://api.ibel.ai/v1/team/env" \
-H "Authorization: Bearer $KEY" \
-d '{"key":"STRIPE_KEY","value":"s3cr3t","variables":[{"key":"STRIPE_KEY","value":"s3cr3t","environments":["production"],"branch":"dev","type":"plain","sensitive":true}],"dotenv":"…","environments":["production"],"branch":"dev","type":"plain","sensitive":true,"upsert":true,"projects":["…"]}'/v1/team/env/{id}One shared variable#
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پارامترها
idstring (uuid)مسیرالزامیthe variable's id
decryptstringکوئری1: plain values (owner, admin, developer)
one of
1
پاسخ
200EnvVar
idstring (uuid)الزامیkeystringالزامیpattern
^[A-Za-z_][A-Za-z0-9_]{0,63}$environmentsstring[]الزامیbranchstring | nullالزامیa git branch; only with environments [preview]
scopestringالزامیteam: a shared variable
one of
project,teamtypestringالزامیsensitive: never shown again, production and preview only
one of
plain,sensitivevaluestring | nullالزامیthe text only when revealed (?decrypt=1) and plain
created_atstring (date-time)updated_atstring (date-time)created_byobject | nulltypestringone of
person,keynamestring | null
updated_byobject | nulltypestringone of
person,keynamestring | null
projectsobject[]shared variables only
namestringkindstringone of
function,app
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 403 | Not allowed: forbidden |
| 404 | Not found: not_found |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/team/env/88e2fe1d-6d75-4de5-8c8f-27380ec66903" \
-H "Authorization: Bearer $KEY"/v1/team/env/{id}Delete a shared variable#
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- مالک، ادمین، توسعهدهنده
پارامترها
idstring (uuid)مسیرالزامیthe variable's id
پاسخ
200object
idstring (uuid)keystringdeletedboolean
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 403 | Not allowed: forbidden |
| 404 | Not found: not_found |
| 500 | internal: an unexpected failure |
نمونه
curl -X DELETE "https://api.ibel.ai/v1/team/env/88e2fe1d-6d75-4de5-8c8f-27380ec66903" \
-H "Authorization: Bearer $KEY"/v1/team/env/{id}Change a shared variable#
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- مالک، ادمین، توسعهدهنده
پارامترها
idstring (uuid)مسیرالزامیthe variable's id
بدنهٔ درخواستapplication/json
keystringvaluestringup to 5120 characters
environmentsstring[]branchstring | nulltypestringone of
plain,sensitivesensitivebooleanprojectsstring[]shared variables only: replaces the links
پاسخ
200EnvVar
idstring (uuid)الزامیkeystringالزامیpattern
^[A-Za-z_][A-Za-z0-9_]{0,63}$environmentsstring[]الزامیbranchstring | nullالزامیa git branch; only with environments [preview]
scopestringالزامیteam: a shared variable
one of
project,teamtypestringالزامیsensitive: never shown again, production and preview only
one of
plain,sensitivevaluestring | nullالزامیthe text only when revealed (?decrypt=1) and plain
created_atstring (date-time)updated_atstring (date-time)created_byobject | nulltypestringone of
person,keynamestring | null
updated_byobject | nulltypestringone of
person,keynamestring | null
projectsobject[]shared variables only
namestringkindstringone of
function,app
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | Bad request: bad_key, bad_value, bad_environments, bad_type, bad_branch, sensitive_development, policy_sensitive, bad_projects, bad_json |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 403 | Not allowed: forbidden |
| 404 | Not found: not_found |
| 409 | Conflict: env_conflict, sensitive, too_many |
| 500 | internal: an unexpected failure |
نمونه
curl -X PATCH "https://api.ibel.ai/v1/team/env/88e2fe1d-6d75-4de5-8c8f-27380ec66903" \
-H "Authorization: Bearer $KEY" \
-d '{"key":"STRIPE_KEY","value":"s3cr3t","environments":["production"],"branch":"dev","type":"plain","sensitive":true,"projects":["…"]}'/v1/team/env-summaryHow many variables the team has#
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پاسخ
200EnvSummary
totalintegerالزامیprojectintegerالزامیprojects' own variables
sharedintegerالزامیthe team's shared variables
sensitiveintegerالزامیprojectsintegerالزامیprojects with variables of their own
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/team/env-summary" \
-H "Authorization: Bearer $KEY"/v1/team/env-policyThe team policy for variables#
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پاسخ
200object
sensitive_by_defaultbooleanالزامی
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/team/env-policy" \
-H "Authorization: Bearer $KEY"/v1/team/env-policySensitive by default: on or off#
When on, every new variable for production or preview is sensitive and cannot be made plain.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- مالک
- تایید دوم
- با نشست داشبورد، عامل دوم در ۱۰ دقیقهٔ اخیر لازم است؛ کلید API نیازی ندارد.
بدنهٔ درخواستapplication/json
sensitive_by_defaultbooleanالزامی
پاسخ
200object
sensitive_by_defaultboolean
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | Bad request: bad_policy, bad_json |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 403 | Not allowed: forbidden, step_up_required |
| 500 | internal: an unexpected failure |
نمونه
curl -X PUT "https://api.ibel.ai/v1/team/env-policy" \
-H "Authorization: Bearer $KEY" \
-d '{"sensitive_by_default":true}'/v1/logsThe team's logs across its apps and functions#
Every project's entries merged newest first (newest last in the page), each naming its project and product.
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پارامترها
sincestringکوئریISO time, epoch ms, or back from now: 30m, 1h, 7d
untilstringکوئریISO time or epoch ms
levelstringکوئریerror, warning, info (comma list)
sourcestringکوئریrequest, static, fetch, cron, console (comma list)
statusstringکوئریcodes or classes, e.g. 404,5xx
pathstringکوئریrequest paths (comma list); end with * for a prefix
environmentstringکوئریproduction or preview
branchstringکوئریa preview's branch
deploymentstringکوئریa version number, e.g. 12 or v12
qstringکوئریtext the entry contains
limitintegerکوئری1-1000, default 100
1–1000 · default
100cursorstringکوئریnext_cursor of the page before
facetsstringکوئری1: counts per filter value
bucketsintegerکوئریa histogram of the range in this many bars (up to 120)
0–120
projectstringکوئریproject names (comma list)
پاسخ
200LogPage
logsLogEntry[]الزامیnewest last
idstringالزامیtintegermilliseconds since 1970
kindstringlevelstringmsgstringmethodstringpathstringstatusintegermsnumberversionintegerstaticbooleancronstringoutcomestringhoststringthe hostname a request was served on
tracestringthe request's trace id (32 hex), when its trace was kept; open it with GET /v1/traces/{trace_id}
severitystringone of
error,warning,infosourcestringone of
request,static,fetch,cron,consoleenvironmentstringone of
production,previewbranchstring | nulla preview's branch, when known
projectstringteam logs: the project
productstringone of
function,app
next_cursorstring | nullالزامیpass as cursor for older entries
matchedintegerالزامیentries in the range that match
scannedintegerالزامیtruncatedbooleanthe team's request read only part of its logs
facetsobjectwith facets=1: counts per filter value, each over what the other filters leave
levelobjectsourceobjectstatusobjectenvironmentobjectpathobjectprojectobject
histogramobjectwith buckets=n: the range in n bars, per level
fromintegertointegerbucketsobject[]fromintegererrorintegerwarningintegerinfointeger
خطاها
| وضعیت | توضیح |
|---|---|
| 400 | Bad request: bad_param |
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/logs" \
-H "Authorization: Bearer $KEY"/v1/previewsThe team's previews across its projects#
- دسترسی
- کلید API یا نشست داشبورد
- نقشها
- همهٔ نقشها
پارامترها
limitintegerکوئری1-200, default 20
1–200 · default
20
پاسخ
200object
previewsTeamPreview[]الزامیbranchstringالزامیurlstringالزامیversionintegerالزامیupdated_atstring (date-time)git_branchstring | nullthe git branch the build came from
commitstring | nullmessagestring | nullthe commit's first line
projectstringالزامیkindstringالزامیone of
function,app
خطاها
| وضعیت | توضیح |
|---|---|
| 401 | unauthorized: missing, invalid, expired or revoked credential |
| 500 | internal: an unexpected failure |
نمونه
curl "https://api.ibel.ai/v1/previews" \
-H "Authorization: Bearer $KEY"