Wiki
get/api/v0/wiki/{wikiRunId}

Request

  • Base URL
    https://api.factory.ai
  • Auth
    HTTP bearer

Path parameters

wikiRunId, string required

Headers

X-Factory-Org-Id, string

Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.

Response

Response for status 200

GetWikiRun200ResponseBody required
wikiRunId, string required

Id of the wiki run.

createdAt, integer required

Unix ms timestamp of when the wiki was generated.

sourceSessionId, string

Session that generated the wiki.

ownerUserId, string

User id of the uploader who owns the wiki run.

repoUrl, string required

Normalized repository URL.

commitHash, string required

Git commit the wiki was generated from.

branch, string required

Git branch the wiki was generated from.

hasLocalChanges, boolean required

Whether the checkout had uncommitted local changes.

hasNonRemoteCommits, boolean required

Whether the checkout had commits not pushed to the remote.

modelUsed, object

Model and reasoning effort used to generate the wiki.

droidVersion, string

Version of the CLI that generated the wiki.

privacyLevel, 'private' | 'organization'

Visibility of the wiki run; private when absent.

isRepoCoveredByOrgIntegration, boolean

Whether the repository is covered by an organization SCM integration.

canUpdatePrivacy, boolean

Whether the caller can change this wiki run's privacy level.

pageCount, integer required

Number of pages in the wiki run.

pageTree, object[] required

Hierarchical page tree of the wiki.

videoOverview, union

Video overview of the wiki; includes presigned playback URLs when status is 'ready'.

Changes

    • info

      added the non-success response with the status

    • breaking

      the response's body type changed from no type to object for status

    • info

      api operation id GetGetAWikiRun removed and replaced with getWikiRun

    31 more changes in this revision