Coda · Capability

Coda API — Packs

Coda API — Packs. 60 operations. Lead operation: Retrieve the chat sessions of an agent instance.. Self-contained Naftiko capability covering one Coda business surface.

Run with Naftiko CodaPacks

What You Can Do

GET
Listagentsessionids — Retrieve the chat sessions of an agent instance.
/v1/go/tenants/{tenantid}/agentinstances/{agentinstanceid}/agentsessionids
GET
Listagentlogs — Retrieve the logs of an agent instance.
/v1/go/tenants/{tenantid}/agentinstances/{agentinstanceid}/logs
GET
Getagentpacklogdetails — Retrieve the information for a specific log.
/v1/go/tenants/{tenantid}/agentinstances/{agentinstanceid}/logs/{logid}
GET
Listpacks — List Packs
/v1/packs
POST
Createpack — Create Pack
/v1/packs
GET
Listuserpackinvitations — List pending Pack invitations for the current user
/v1/packs/invitations
POST
Replytopackinvitation — Reply to a Pack invitation
/v1/packs/invitations/{invitationid}/reply
GET
Listpacklistings — List the Pack listings accessible to a user.
/v1/packs/listings
GET
Getpack — Get a single Pack
/v1/packs/{packid}
PATCH
Updatepack — Update Pack
/v1/packs/{packid}
DELETE
Deletepack — Delete Pack
/v1/packs/{packid}
POST
Packassetuploadcomplete — Pack asset upload complete
/v1/packs/{packid}/assets/{packassetid}/assettype/{packassettype}/uploadcomplete
GET
Listpackcategories — List categories for Pack
/v1/packs/{packid}/categories
POST
Addpackcategory — Add a category for Pack
/v1/packs/{packid}/category
DELETE
Deletepackcategory — Delete a category for Pack
/v1/packs/{packid}/category/{categoryname}
GET
Getpackconfigurationschema — Gets the JSON Schema for Pack configuration.
/v1/packs/{packid}/configurations/schema
GET
Listgroupedpacklogs — Retrieve the grouped logs of a Pack.
/v1/packs/{packid}/docs/{docid}/groupedlogs
GET
Listpacklogs — Retrieve the logs of a Pack.
/v1/packs/{packid}/docs/{docid}/logs
GET
Listpackfeatureddocs — List featured docs for a Pack
/v1/packs/{packid}/featureddocs
PUT
Updatepackfeatureddocs — Update featured docs for a Pack
/v1/packs/{packid}/featureddocs
GET
Listpackinvitations — List invitations for a Pack
/v1/packs/{packid}/invitations
POST
Createpackinvitation — Create an invitation for Pack
/v1/packs/{packid}/invitations
PUT
Updatepackinvitation — Update an invitation for Pack
/v1/packs/{packid}/invitations/{invitationid}
DELETE
Deletepackinvitation — Revoke an invitation for Pack
/v1/packs/{packid}/invitations/{invitationid}
GET
Getpacklisting — Get detailed listing information for a Pack.
/v1/packs/{packid}/listing
GET
Getpacklistingdraft — Get Pack listing draft
/v1/packs/{packid}/listingdraft
PUT
Upsertpacklistingdraft — Upsert Pack listing draft
/v1/packs/{packid}/listingdraft
DELETE
Deletepacklistingdraft — Delete Pack listing draft
/v1/packs/{packid}/listingdraft
POST
Addpackmaker — Add a maker for Pack
/v1/packs/{packid}/maker
DELETE
Deletepackmaker — Delete a maker for Pack
/v1/packs/{packid}/maker/{loginid}
GET
Listpackmakers — List makers for Pack
/v1/packs/{packid}/makers
POST
Getnextpackversion — Get the next valid version for a Pack.
/v1/packs/{packid}/nextversion
PUT
Setpackoauthconfig — Set the OAuth configurations of the Pack.
/v1/packs/{packid}/oauthconfig
GET
Getpackoauthconfig — Retrieve the OAuth configuration of the Pack.
/v1/packs/{packid}/oauthconfig
GET
Getpackpermissions — List permissions for a Pack
/v1/packs/{packid}/permissions
POST
Addpackpermission — Add a permission for Pack
/v1/packs/{packid}/permissions
DELETE
Deleteuserpackpermission — Delete a user's own permissions for Pack
/v1/packs/{packid}/permissions
DELETE
Deletepackpermission — Delete a permission for Pack
/v1/packs/{packid}/permissions/{permissionid}
POST
Createpackrelease — Create a new Pack release.
/v1/packs/{packid}/releases
GET
Listpackreleases — List the releases for a Pack.
/v1/packs/{packid}/releases
PUT
Updatepackrelease — Update an existing Pack release.
/v1/packs/{packid}/releases/{packreleaseid}
GET
Listpackreviews — List pack reviews
/v1/packs/{packid}/reviews
POST
Createpackreview — Create pack review
/v1/packs/{packid}/reviews
POST
Cancelpackreview — Cancel pending pack review
/v1/packs/{packid}/reviews/pending/cancel
PUT
Setpacksystemconnection — Set the system connection credentials of the Pack.
/v1/packs/{packid}/systemconnection
PATCH
Patchpacksystemconnection — Patch the system connection credentials of the Pack.
/v1/packs/{packid}/systemconnection
GET
Getpacksystemconnection — Retrieve the system connection metadata of the Pack.
/v1/packs/{packid}/systemconnection
GET
Listgroupedingestionlogs — Retrieve the grouped logs of a Pack for a specific ingestionExecutionId.
/v1/packs/{packid}/tenantid/{tenantid}/rootingestionid/{rootingestionid}/groupedlogs
GET
Listingestionbatchexecutions — Retrieve a list of ingestion batch executions for the given root ingestion id.
/v1/packs/{packid}/tenantid/{tenantid}/rootingestionid/{rootingestionid}/ingestionbatchexecutions
GET
Listingestionparentitems — Retrieve a list of parent items for the given ingestion batch execution id.
/v1/packs/{packid}/tenantid/{tenantid}/rootingestionid/{rootingestionid}/ingestionbatchexecutions/{ingestionexecutionid}/parentitems
GET
Listingestionlogs — Retrieve the logs of a Ingestion.
/v1/packs/{packid}/tenantid/{tenantid}/rootingestionid/{rootingestionid}/logs
GET
Getpacklogdetails — Retrieve the information for a specific log.
/v1/packs/{packid}/tenantid/{tenantid}/rootingestionid/{rootingestionid}/logs/{logid}
POST
Uploadpackasset — Upload a Pack asset.
/v1/packs/{packid}/uploadasset
POST
Uploadpacksourcecode — Upload Pack source code.
/v1/packs/{packid}/uploadsourcecode
GET
Listpackversions — List the versions for a Pack.
/v1/packs/{packid}/versions
GET
Getpackversiondiffs — Get the difference between two pack versions.
/v1/packs/{packid}/versions/{basepackversion}/diff/{targetpackversion}
POST
Registerpackversion — Register Pack version
/v1/packs/{packid}/versions/{packversion}/register
GET
Getpacksourcecode — get the source code for a Pack version.
/v1/packs/{packid}/versions/{packversion}/sourcecode
POST
Packsourcecodeuploadcomplete — Pack source code upload complete
/v1/packs/{packid}/versions/{packversion}/sourcecode/uploadcomplete
POST
Packversionuploadcomplete — Pack version upload complete
/v1/packs/{packid}/versions/{packversion}/uploadcomplete

MCP Tools

retrieve-chat-sessions-agent-instance

Retrieve the chat sessions of an agent instance.

read-only idempotent
retrieve-logs-agent-instance

Retrieve the logs of an agent instance.

read-only idempotent
retrieve-information-specific-log

Retrieve the information for a specific log.

read-only idempotent
list-packs

List Packs

read-only idempotent
create-pack

Create Pack

list-pending-pack-invitations-current

List pending Pack invitations for the current user

read-only idempotent
reply-pack-invitation

Reply to a Pack invitation

list-pack-listings-accessible-user

List the Pack listings accessible to a user.

read-only idempotent
get-single-pack

Get a single Pack

read-only idempotent
update-pack

Update Pack

idempotent
delete-pack

Delete Pack

idempotent
pack-asset-upload-complete

Pack asset upload complete

list-categories-pack

List categories for Pack

read-only idempotent
add-category-pack

Add a category for Pack

delete-category-pack

Delete a category for Pack

idempotent
gets-json-schema-pack-configuration

Gets the JSON Schema for Pack configuration.

read-only idempotent
retrieve-grouped-logs-pack

Retrieve the grouped logs of a Pack.

read-only idempotent
retrieve-logs-pack

Retrieve the logs of a Pack.

read-only idempotent
list-featured-docs-pack

List featured docs for a Pack

read-only idempotent
update-featured-docs-pack

Update featured docs for a Pack

idempotent
list-invitations-pack

List invitations for a Pack

read-only idempotent
create-invitation-pack

Create an invitation for Pack

update-invitation-pack

Update an invitation for Pack

idempotent
revoke-invitation-pack

Revoke an invitation for Pack

idempotent
get-detailed-listing-information-pack

Get detailed listing information for a Pack.

read-only idempotent
get-pack-listing-draft

Get Pack listing draft

read-only idempotent
upsert-pack-listing-draft

Upsert Pack listing draft

idempotent
delete-pack-listing-draft

Delete Pack listing draft

idempotent
add-maker-pack

Add a maker for Pack

delete-maker-pack

Delete a maker for Pack

idempotent
list-makers-pack

List makers for Pack

read-only idempotent
get-next-valid-version-pack

Get the next valid version for a Pack.

read-only
set-oauth-configurations-pack

Set the OAuth configurations of the Pack.

idempotent
retrieve-oauth-configuration-pack

Retrieve the OAuth configuration of the Pack.

read-only idempotent
list-permissions-pack

List permissions for a Pack

read-only idempotent
add-permission-pack

Add a permission for Pack

delete-user-s-own-permissions-pack

Delete a user's own permissions for Pack

idempotent
delete-permission-pack

Delete a permission for Pack

idempotent
create-new-pack-release

Create a new Pack release.

list-releases-pack

List the releases for a Pack.

read-only idempotent
update-existing-pack-release

Update an existing Pack release.

idempotent
list-pack-reviews

List pack reviews

read-only idempotent
create-pack-review

Create pack review

cancel-pending-pack-review

Cancel pending pack review

set-system-connection-credentials-pack

Set the system connection credentials of the Pack.

idempotent
patch-system-connection-credentials-pack

Patch the system connection credentials of the Pack.

idempotent
retrieve-system-connection-metadata-pack

Retrieve the system connection metadata of the Pack.

read-only idempotent
retrieve-grouped-logs-pack-specific

Retrieve the grouped logs of a Pack for a specific ingestionExecutionId.

read-only idempotent
retrieve-list-ingestion-batch-executions

Retrieve a list of ingestion batch executions for the given root ingestion id.

read-only idempotent
retrieve-list-parent-items-given

Retrieve a list of parent items for the given ingestion batch execution id.

read-only idempotent
retrieve-logs-ingestion

Retrieve the logs of a Ingestion.

read-only idempotent
retrieve-information-specific-log-2

Retrieve the information for a specific log.

read-only idempotent
upload-pack-asset

Upload a Pack asset.

upload-pack-source-code

Upload Pack source code.

list-versions-pack

List the versions for a Pack.

read-only idempotent
get-difference-between-two-pack

Get the difference between two pack versions.

read-only idempotent
register-pack-version

Register Pack version

get-source-code-pack-version

get the source code for a Pack version.

read-only idempotent
pack-source-code-upload-complete

Pack source code upload complete

pack-version-upload-complete

Pack version upload complete

Capability Spec

coda-packs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Coda API — Packs
  description: 'Coda API — Packs. 60 operations. Lead operation: Retrieve the chat sessions of an agent instance.. Self-contained
    Naftiko capability covering one Coda business surface.'
  tags:
  - Coda
  - Packs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CODA_API_KEY: CODA_API_KEY
capability:
  consumes:
  - type: http
    namespace: coda-packs
    baseUri: https://coda.io/apis/v1
    description: Coda API — Packs business capability. Self-contained, no shared references.
    resources:
    - name: go-tenants-tenantId-agentInstances-agentInstanceId-agentSessionIds
      path: /go/tenants/{tenantId}/agentInstances/{agentInstanceId}/agentSessionIds
      operations:
      - name: listagentsessionids
        method: GET
        description: Retrieve the chat sessions of an agent instance.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Maximum number of results to return in this query.
        - name: agentSessionId
          in: query
          type: string
          description: ID of the agent chat session.
        - name: logTypes
          in: query
          type: array
          description: Only return logs of the given types.
        - name: beforeTimestamp
          in: query
          type: string
          description: Only return logs before the given time (non-inclusive).
        - name: afterTimestamp
          in: query
          type: string
          description: Only return logs after the given time (non-inclusive).
        - name: order
          in: query
          type: string
          description: Specifies if the logs will be returned in time desc or asc. Default is desc.
        - name: q
          in: query
          type: string
          description: A search query that follows Lucene syntax.
        - name: requestIds
          in: query
          type: array
          description: Only return logs matching provided request IDs.
    - name: go-tenants-tenantId-agentInstances-agentInstanceId-logs
      path: /go/tenants/{tenantId}/agentInstances/{agentInstanceId}/logs
      operations:
      - name: listagentlogs
        method: GET
        description: Retrieve the logs of an agent instance.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Maximum number of results to return in this query.
        - name: logTypes
          in: query
          type: array
          description: Only return logs of the given types.
        - name: agentSessionId
          in: query
          type: string
          description: ID of the agent chat session.
        - name: beforeTimestamp
          in: query
          type: string
          description: Only return logs before the given time (non-inclusive).
        - name: afterTimestamp
          in: query
          type: string
          description: Only return logs after the given time (non-inclusive).
        - name: order
          in: query
          type: string
          description: Specifies if the logs will be returned in time desc or asc. Default is desc.
        - name: q
          in: query
          type: string
          description: A search query that follows Lucene syntax.
        - name: requestIds
          in: query
          type: array
          description: Only return logs matching provided request IDs.
    - name: go-tenants-tenantId-agentInstances-agentInstanceId-logs-logId
      path: /go/tenants/{tenantId}/agentInstances/{agentInstanceId}/logs/{logId}
      operations:
      - name: getagentpacklogdetails
        method: GET
        description: Retrieve the information for a specific log.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: logId
          in: path
          type: string
          description: The id of the log to retrieve.
          required: true
        - name: detailsKey
          in: query
          type: string
          description: The key of the details to retrieve.
          required: true
    - name: packs
      path: /packs
      operations:
      - name: listpacks
        method: GET
        description: List Packs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accessType
          in: query
          type: string
          description: Deprecated, use accessTypes instead. Filter to only return the Packs for which the current user has
            this access type
        - name: accessTypes
          in: query
          type: array
          description: Filter to only return the Packs for which the current user has these access types.
        - name: sortBy
          in: query
          type: string
          description: The sort order of the Packs returned.
      - name: createpack
        method: POST
        description: Create Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: packs-invitations
      path: /packs/invitations
      operations:
      - name: listuserpackinvitations
        method: GET
        description: List pending Pack invitations for the current user
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: packs-invitations-invitationId-reply
      path: /packs/invitations/{invitationId}/reply
      operations:
      - name: replytopackinvitation
        method: POST
        description: Reply to a Pack invitation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: packs-listings
      path: /packs/listings
      operations:
      - name: listpacklistings
        method: GET
        description: List the Pack listings accessible to a user.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sortBy
          in: query
          type: string
          description: Specify a sort order for the returned Pack listings returned.
        - name: orderBy
          in: query
          type: string
          description: 'Deprecated: use sortBy instead.'
        - name: installContext
          in: query
          type: string
          description: Type of installation context for which Pack information is being requested.
    - name: packs-packId
      path: /packs/{packId}
      operations:
      - name: getpack
        method: GET
        description: Get a single Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatepack
        method: PATCH
        description: Update Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletepack
        method: DELETE
        description: Delete Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: packs-packId-assets-packAssetId-assetType-packAssetType-uploadComplete
      path: /packs/{packId}/assets/{packAssetId}/assetType/{packAssetType}/uploadComplete
      operations:
      - name: packassetuploadcomplete
        method: POST
        description: Pack asset upload complete
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: packs-packId-categories
      path: /packs/{packId}/categories
      operations:
      - name: listpackcategories
        method: GET
        description: List categories for Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: packs-packId-category
      path: /packs/{packId}/category
      operations:
      - name: addpackcategory
        method: POST
        description: Add a category for Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: packs-packId-category-categoryName
      path: /packs/{packId}/category/{categoryName}
      operations:
      - name: deletepackcategory
        method: DELETE
        description: Delete a category for Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: packs-packId-configurations-schema
      path: /packs/{packId}/configurations/schema
      operations:
      - name: getpackconfigurationschema
        method: GET
        description: Gets the JSON Schema for Pack configuration.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: packs-packId-docs-docId-groupedLogs
      path: /packs/{packId}/docs/{docId}/groupedLogs
      operations:
      - name: listgroupedpacklogs
        method: GET
        description: Retrieve the grouped logs of a Pack.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Maximum number of results to return in this query.
        - name: beforeTimestamp
          in: query
          type: string
          description: Only return logs before the given time (non-inclusive).
        - name: afterTimestamp
          in: query
          type: string
          description: Only return logs after the given time (non-inclusive).
        - name: order
          in: query
          type: string
          description: Specifies if the logs will be returned in time desc or asc. Default is desc.
        - name: q
          in: query
          type: string
          description: A search query that follows Lucene syntax.
    - name: packs-packId-docs-docId-logs
      path: /packs/{packId}/docs/{docId}/logs
      operations:
      - name: listpacklogs
        method: GET
        description: Retrieve the logs of a Pack.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Maximum number of results to return in this query.
        - name: logTypes
          in: query
          type: array
          description: Only return logs of the given types.
        - name: beforeTimestamp
          in: query
          type: string
          description: Only return logs before the given time (non-inclusive).
        - name: afterTimestamp
          in: query
          type: string
          description: Only return logs after the given time (non-inclusive).
        - name: order
          in: query
          type: string
          description: Specifies if the logs will be returned in time desc or asc. Default is desc.
        - name: q
          in: query
          type: string
          description: A search query that follows Lucene syntax.
        - name: requestIds
          in: query
          type: array
          description: Only return logs matching provided request IDs.
    - name: packs-packId-featuredDocs
      path: /packs/{packId}/featuredDocs
      operations:
      - name: listpackfeatureddocs
        method: GET
        description: List featured docs for a Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatepackfeatureddocs
        method: PUT
        description: Update featured docs for a Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: packs-packId-invitations
      path: /packs/{packId}/invitations
      operations:
      - name: listpackinvitations
        method: GET
        description: List invitations for a Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createpackinvitation
        method: POST
        description: Create an invitation for Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: packs-packId-invitations-invitationId
      path: /packs/{packId}/invitations/{invitationId}
      operations:
      - name: updatepackinvitation
        method: PUT
        description: Update an invitation for Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletepackinvitation
        method: DELETE
        description: Revoke an invitation for Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: packs-packId-listing
      path: /packs/{packId}/listing
      operations:
      - name: getpacklisting
        method: GET
        description: Get detailed listing information for a Pack.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspaceId
          in: query
          type: string
          description: ID of the target workspace (if applicable) for checking installation privileges.
        - name: docId
          in: query
          type: string
          description: ID of the target document for checking installation privileges
        - name: ingestionId
          in: query
          type: string
          description: ID of the target ingestion for checking limit settings
        - name: installContext
          in: query
          type: string
          description: Type of installation context for which Pack information is being requested.
        - name: releaseChannel
          in: query
          type: string
          description: Release channel for which Pack information is being requested.
    - name: packs-packId-listingDraft
      path: /packs/{packId}/listingDraft
      operations:
      - name: getpacklistingdraft
        method: GET
        description: Get Pack listing draft
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: upsertpacklistingdraft
        method: PUT
        description: Upsert Pack listing draft
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletepacklistingdraft
        method: DELETE
        description: Delete Pack listing draft
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: packs-packId-maker
      path: /packs/{packId}/maker
      operations:
      - name: addpackmaker
        method: POST
        description: Add a maker for Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: packs-packId-maker-loginId
      path: /packs/{packId}/maker/{loginId}
      operations:
      - name: deletepackmaker
        method: DELETE
        description: Delete a maker for Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: packs-packId-makers
      path: /packs/{packId}/makers
      operations:
      - name: listpackmakers
        method: GET
        description: List makers for Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: packs-packId-nextVersion
      path: /packs/{packId}/nextVersion
      operations:
      - name: getnextpackversion
        method: POST
        description: Get the next valid version for a Pack.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: packs-packId-oauthConfig
      path: /packs/{packId}/oauthConfig
      operations:
      - name: setpackoauthconfig
        method: PUT
        description: Set the OAuth configurations of the Pack.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getpackoauthconfig
        method: GET
        description: Retrieve the OAuth configuration of the Pack.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: packs-packId-permissions
      path: /packs/{packId}/permissions
      operations:
      - name: getpackpermissions
        method: GET
        description: List permissions for a Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: addpackpermission
        method: POST
        description: Add a permission for Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteuserpackpermission
        method: DELETE
        description: Delete a user's own permissions for Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: packs-packId-permissions-permissionId
      path: /packs/{packId}/permissions/{permissionId}
      operations:
      - name: deletepackpermission
        method: DELETE
        description: Delete a permission for Pack
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: packs-packId-releases
      path: /packs/{packId}/releases
      operations:
      - name: createpackrelease
        method: POST
        description: Create a new Pack release.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listpackreleases
        method: GET
        description: List the releases for a Pack.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: packs-packId-releases-packReleaseId
      path: /packs/{packId}/releases/{packReleaseId}
      operations:
      - name: updatepackrelease
        method: PUT
        description: Update an existing Pack release.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: packs-packId-reviews
      path: /packs/{packId}/reviews
      operations:
      - name: listpackreviews
        method: GET
        description: List pack reviews
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Maximum number of results to return.
        - name: status
          in: query
          type: string
          description: Filter reviews by status.
      - name: createpackreview
        method: POST
        description: Create pack review
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: packs-packId-reviews-pending-cancel
      path: /packs/{packId}/reviews/pending/cancel
      operations:
      - name: cancelpackreview
        method: POST
        description: Cancel pending pack review
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: packs-packId-systemConnection
      path: /packs/{packId}/systemConnection
      operations:
      - name: setpacksystemconnection
        method: PUT
        description: Set the system connection credentials of the Pack.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: patchpacksystemconnection
        method: PATCH
        description: Patch the system connection credentials of the Pack.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getpacksystemconnection
        method: GET
        description: Retrieve the system connection metadata of the Pack.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: packs-packId-tenantId-tenantId-rootIngestionId-rootIngestionId-groupedLogs
      path: /packs/{packId}/tenantId/{tenantId}/rootIngestionId/{rootIngestionId}/groupedLogs
      operations:
      - name: listgroupedingestionlogs
        method: GET
        description: Retrieve the grouped logs of a Pack for a specific ingestionExecutionId.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Maximum number of results to return in this query.
        - name: beforeTimestamp
          in: query
          type: string
          description: Only return logs before the given time (non-inclusive).
        - name: afterTimestamp
          in: query
          type: string
          description: Only return logs after the given time (non-inclusive).
        - name: order
          in: query
          type: string
          description: Specifies if the logs will be returned in time desc or asc. Default is desc.
        - name: q
          in: query
          type: string
          description: A search query that follows Lucene syntax.
    - name: packs-packId-tenantId-tenantId-rootIngestionId-rootIngestionId-ingestionBatchExe
      path: /packs/{packId}/tenantId/{tenantId}/rootIngestionId/{rootIngestionId}/ingestionBatchExecutions
      operations:
      - name: listingestionbatchexecutions
        method: GET
        description: Retrieve a list of ingestion batch executions for the given root ingestion id.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Maximum number of results to return in this query.
        - name: datasource
          in: query
          type: string
          description: Only show batch executions for this datasource (sync table).
        - name: executionType
          in: query
          type: string
          description: Only show batch executions with this execution type.
        - name: includeDeletedIngestions
          in: query
          type: boolean
          description: Include deleted ingestion executions in the response
        - name: ingestionExecutionId
          in: query
          type: string
          description: Only retrieve this single batch execution.
        - name: ingestionId
          in: query
          type: string
          description: Only show batch executions for this sync table ingestion.
        - name: ingestionStatus
          in: query
          type: string
          description: Only show batch executions with this status.
    - name: packs-packId-tenantId-tenantId-rootIngestionId-rootIngestionId-ingestionBatchExe
      path: /packs/{packId}/tenantId/{tenantId}/rootIngestionId/{rootIngestionId}/ingestionBatchExecutions/{ingestionExecutionId}/parentItems
      operations:
      - name: listingestionparentitems
        method: GET
        description: Retrieve a list of parent items for the given ingestion batch execution id.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Maximum number of results to return in this query.
        - name: ingestionExecutionId
          in: path
          type: string
          description: Only show parent items for this ingestion batch execution.
          required: true
        - name: ingestionId
          in: query
          type: string
          description: The ID of the sync table ingestion. Enables faster lookup.
          required: true
        - name: ingestionStatus
          in: query
          type: string
          description: Only show parent items with this status.
    - name: packs-packId-tenantId-tenantId-rootIngestionId-rootIngestionId-logs
      path: /packs/{packId}/tenantId/{tenantId}/rootIngestionId/{rootIngestionId}/logs
      operations:
      - name: listingestionlogs
        method: GET
        description: Retrieve the logs of a Ingestion.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Maximum number of results to return in this query.
        - name: logTypes
          in: query
          type: array
          description: Only return logs of the given types.
        - name: ingestionExecutionId
          in: query
          type: string
          description: ID of the ingestion execution.
        - name: beforeTimestamp
          in: query
          type: string
          description: Only return logs before the given time (non-inclusive).
        - name: afterTimestamp
          in: query
          type: string
          description: Only return logs after the given time (non-inclusive).
        - name: ingestionStatus
          in: query
          type: string
          description: Only fetch logs with the given ingestion status. This only works in combination with the onlyExecutionCompletions
            parameter.
        - name: onlyExecutionCompletions
          in: query
          type: boolean
          description: Only fetch logs that represent the completion of a child execution.
        - name: order
          in: query
          type: string
          description: Specifies if the logs will be returned in time desc or asc. Default is desc.
        - name: q
          in: query
          type: string
          description: A search query that follows Lucene syntax.
        - name: requestIds
          in: query
          type: array
          description: Only return logs matching provided request IDs.
    - name: packs-packId-tenantId-tenantId-rootIngestionId-rootIngestionId-logs-logId
      path: /packs/{packId}/tenantId/{tenantId}/rootIngestionId/{rootIngestionId}/logs/{logId}
      operations:
      - name: getpacklogdetails
        method: GET
        description: Retrieve the information for a specific log.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: logId
          in: path
          type: string
          description: The id of the log to retrieve.
          required: true
        - name: detailsKey
          in: query
          type: string
          description: The key of the details to retrieve.
          required: true
    - name: packs-packId-uploadAsset
      path: /packs/{packId}/uploadAsset
      operations:
      - name: uploadpackasset
        method: POST
        description: Upload a Pack asset.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: packs-packId-uploadSourceCode
      path: /packs/{packId}/uploadSourceCode
      operations:
      - name: uploadpacksourcecode
        method: POST
        description: Upload Pack source code.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: packs-packId-versions
      path: /packs/{packId}/versions
      operations:
      - name: listpackversions
        method: GET
        description: List the versions for a Pack.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: packs-packId-versions-basePackVersion-diff-targetPackVersion
      path: /packs/{packId}/versions/{basePackVersion}/diff/{targetPackVersion}
      operations:
      - name: getpackversiondiffs
        method: GET
        description: Get the difference between two pack versions.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: packs-packId-versions-packVersion-register
      path: /packs/{packId}/versions/{packVersion}/register
      operations:
      - name: registerpackversion
        method: POST
        description: Register Pack version
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
  

# --- truncated at 32 KB (79 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/coda/refs/heads/main/capabilities/coda-packs.yaml