AutoWiki API
Generate and manage AutoWiki runs: create runs, browse pages, search, and export.
List the latest wiki runs
List the latest wiki runs.
curl 'https://api.factory.ai/api/v0/wiki' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN"Parameters
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.
Responses
application/json
Latest wiki run per repository among the runs the caller can read.
Array items
Id of the wiki run.
Unix ms timestamp of when the wiki was generated.
Session that generated the wiki.
User id of the uploader who owns the wiki run.
Normalized repository URL.
Git commit the wiki was generated from.
Git branch the wiki was generated from.
Whether the checkout had uncommitted local changes.
Whether the checkout had commits not pushed to the remote.
Model and reasoning effort used to generate the wiki.
Minimum length: 1
Allowed values
Version of the CLI that generated the wiki.
Visibility of the wiki run; private when absent.
Allowed values
Whether the repository is covered by an organization SCM integration.
Whether the caller can change this wiki run's privacy level.
Number of pages in the wiki run.
Hierarchical page tree of the wiki.
Array items
Minimum length: 1
Minimum length: 1
Minimum length: 1
Minimum: 0
Array items
object400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Create a wiki run
Create a wiki run.
curl -X POST 'https://api.factory.ai/api/v0/wiki' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN" \
-H 'Content-Type: application/json' \
-d '{ ... }'Parameters
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.
Request body
Required
application/json
No additional properties
Minimum length: 1
Minimum length: 1
Minimum length: 1
Minimum length: 1
No additional properties
Minimum length: 1
Allowed values
Minimum length: 1
No additional properties
Allowed values
Minimum length: 1
Minimum: 1
Maximum: 104857600
Allowed values
Minimum length: 1
Minimum: 0
Minimum items: 1
Array items
No additional properties
Pattern: ^[a-z]{2,3}(?:-[a-z0-9]{2,8})*$
Minimum length: 1
Maximum length: 80
Minimum length: 1
Minimum: 1
Maximum: 1048576
Allowed values
Array items
stringNo additional properties
Allowed values
Allowed values
Array items
No additional properties
Pattern: ^[a-z]{2,3}(?:-[a-z0-9]{2,8})*$
Minimum length: 1
Maximum length: 80
Minimum length: 1
Minimum: 1
Maximum: 1048576
Allowed values
Array items
stringNo additional properties
Allowed values
Allowed values
Array items
No additional properties
Pattern: ^[a-z]{2,3}(?:-[a-z0-9]{2,8})*$
Minimum length: 1
Maximum length: 80
Minimum length: 1
Minimum: 1
Maximum: 1048576
Allowed values
Array items
stringMinimum length: 1
Minimum items: 1
Maximum items: 200
Array items
No additional properties
Minimum length: 1
Minimum length: 1
Minimum length: 1
Maximum length: 512000
Minimum: 0
Minimum items: 1
Array items
No additional properties
Minimum length: 1
Minimum length: 1
Minimum length: 1
Minimum: 0
Array items
objectMaximum items: 100
Array items
No additional properties
Minimum length: 1
Minimum length: 1
Maximum length: 6990508
Allowed values
Minimum: 1
Maximum: 5242880
Responses
application/json
Id of the created wiki run.
400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Request validation error
Framework validation issues, when available
Array items
object401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
409Response for status 409
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
413Response for status 413
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The platform edge refused a body over its own size limit before the route ran, and answered in JSON because the request accepts JSON, for example `{"error":{"code":"413","message":"Request Entity Too Large"}}`.
Must not include detail
text/plain
The platform edge refused a body over its own size limit before the route ran, for example `Request Entity Too Large` followed by an error code such as `FUNCTION_PAYLOAD_TOO_LARGE`.
string451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
List wiki run history for a repository
List wiki run history for a repository.
curl 'https://api.factory.ai/api/v0/wiki/history/{repoUrl}' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN"Parameters
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.
Responses
application/json
Live wiki runs for the repository.
Array items
Id of the wiki run.
Unix ms timestamp of when the wiki was generated.
Session that generated the wiki.
User id of the uploader who owns the wiki run.
Normalized repository URL.
Git commit the wiki was generated from.
Git branch the wiki was generated from.
Whether the checkout had uncommitted local changes.
Whether the checkout had commits not pushed to the remote.
Model and reasoning effort used to generate the wiki.
Minimum length: 1
Allowed values
Version of the CLI that generated the wiki.
Visibility of the wiki run; private when absent.
Allowed values
Whether the repository is covered by an organization SCM integration.
Whether the caller can change this wiki run's privacy level.
Number of pages in the wiki run.
Hierarchical page tree of the wiki.
Array items
Minimum length: 1
Minimum length: 1
Minimum length: 1
Minimum: 0
Array items
object400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Check whether the caller can upload a wiki for a repository
Check whether the caller can upload a wiki for a repository.
curl 'https://api.factory.ai/api/v0/wiki/upload-access' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN"Parameters
Repository URL that will be passed to POST /api/v0/wiki
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.
Responses
application/json
Allowed values
400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Request validation error
Framework validation issues, when available
Array items
object401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Create a wiki video upload URL
Create a wiki video upload URL.
curl -X POST 'https://api.factory.ai/api/v0/wiki/video-upload-url' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN" \
-H 'Content-Type: application/json' \
-d '{ ... }'Parameters
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.
Request body
Required
application/json
No additional properties
Minimum length: 1
No additional properties
Allowed values
Minimum: 1
Maximum: 104857600
Minimum items: 1
Maximum items: 5
Array items
No additional properties
Pattern: ^[a-z]{2,3}(?:-[a-z0-9]{2,8})*$
Minimum length: 1
Maximum length: 80
Allowed values
Minimum: 1
Maximum: 1048576
Responses
application/json
Reserved wiki run id to pass to POST /api/v0/wiki.
Minimum length: 1
Upload target for the video overview.
Presigned PUT URL for the video.
Minimum length: 1
Object key to report in `videoOverview.s3Key`.
Minimum length: 1
Unix timestamp, in seconds, when the upload URL expires.
Maximum accepted video size.
Allowed values
Upload targets for each requested caption track.
Minimum items: 1
Array items
Minimum length: 1
Minimum length: 1
Minimum length: 1
Unix timestamp, in seconds, when the upload URL expires.
Allowed values
400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Request validation error
Framework validation issues, when available
Array items
object401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
409Response for status 409
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
413Response for status 413
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The platform edge refused a body over its own size limit before the route ran, and answered in JSON because the request accepts JSON, for example `{"error":{"code":"413","message":"Request Entity Too Large"}}`.
Must not include detail
text/plain
The platform edge refused a body over its own size limit before the route ran, for example `Request Entity Too Large` followed by an error code such as `FUNCTION_PAYLOAD_TOO_LARGE`.
string451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Get a wiki run
Get a wiki run.
curl 'https://api.factory.ai/api/v0/wiki/{wikiRunId}' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN"Parameters
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.
Responses
application/json
Id of the wiki run.
Unix ms timestamp of when the wiki was generated.
Session that generated the wiki.
User id of the uploader who owns the wiki run.
Normalized repository URL.
Git commit the wiki was generated from.
Git branch the wiki was generated from.
Whether the checkout had uncommitted local changes.
Whether the checkout had commits not pushed to the remote.
Model and reasoning effort used to generate the wiki.
Minimum length: 1
Allowed values
Version of the CLI that generated the wiki.
Visibility of the wiki run; private when absent.
Allowed values
Whether the repository is covered by an organization SCM integration.
Whether the caller can change this wiki run's privacy level.
Number of pages in the wiki run.
Hierarchical page tree of the wiki.
Array items
Minimum length: 1
Minimum length: 1
Minimum length: 1
Minimum: 0
Array items
objectVideo overview of the wiki; includes presigned playback URLs when status is 'ready'.
Allowed values
Allowed values
Minimum items: 1
Array items
Pattern: ^[a-z]{2,3}(?:-[a-z0-9]{2,8})*$
Minimum length: 1
Maximum length: 80
Minimum length: 1
Minimum: 1
Maximum: 1048576
Allowed values
Minimum length: 1
Array items
stringMinimum length: 1
Allowed values
Allowed values
Array items
Pattern: ^[a-z]{2,3}(?:-[a-z0-9]{2,8})*$
Minimum length: 1
Maximum length: 80
Minimum length: 1
Minimum: 1
Maximum: 1048576
Allowed values
Array items
stringAllowed values
Allowed values
Array items
Pattern: ^[a-z]{2,3}(?:-[a-z0-9]{2,8})*$
Minimum length: 1
Maximum length: 80
Minimum length: 1
Minimum: 1
Maximum: 1048576
Allowed values
Array items
string400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Request validation error
Framework validation issues, when available
Array items
object401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Delete a wiki run
Delete a wiki run.
curl -X DELETE 'https://api.factory.ai/api/v0/wiki/{wikiRunId}' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN"Parameters
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.
Responses
application/json
Allowed values
400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Request validation error
Framework validation issues, when available
Array items
object401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Export a wiki run as a zip
Builds a zip archive of the wiki pages and returns a presigned URL to download it.
curl 'https://api.factory.ai/api/v0/wiki/{wikiRunId}/export' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN"Parameters
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.
Responses
application/json
Presigned URL to download the wiki pages as a zip archive.
400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Request validation error
Framework validation issues, when available
Array items
object401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Get a wiki page
Get a wiki page.
curl 'https://api.factory.ai/api/v0/wiki/{wikiRunId}/pages/{pageId}' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN"Parameters
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.
Responses
application/json
Page id.
Relative file path of the page.
Display title of the page.
Markdown content, with uploaded image paths replaced by signed URLs.
Sort order among sibling pages.
400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Request validation error
Framework validation issues, when available
Array items
object401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Update wiki run privacy level
Update wiki run privacy level.
curl -X POST 'https://api.factory.ai/api/v0/wiki/{wikiRunId}/privacy' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN" \
-H 'Content-Type: application/json' \
-d '{ ... }'Parameters
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.
Request body
Required
application/json
No additional properties
New visibility of the wiki run.
Allowed values
Responses
application/json
Allowed values
400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Request validation error
Framework validation issues, when available
Array items
object401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
413Response for status 413
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The platform edge refused a body over its own size limit before the route ran, and answered in JSON because the request accepts JSON, for example `{"error":{"code":"413","message":"Request Entity Too Large"}}`.
Must not include detail
text/plain
The platform edge refused a body over its own size limit before the route ran, for example `Request Entity Too Large` followed by an error code such as `FUNCTION_PAYLOAD_TOO_LARGE`.
string422Response for status 422
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Search a wiki run
Search a wiki run.
curl 'https://api.factory.ai/api/v0/wiki/{wikiRunId}/search' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN"Parameters
Case-insensitive text to find in page titles and content; surrounding whitespace is ignored
Minimum length: 1
Maximum number of results (1-100)
Default: 20
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.
Responses
application/json
Matching pages; title matches first, then by path.
Array items
Id of the matching page.
Title of the matching page.
Relative file path of the matching page.
About 200 characters of content around the first match.
Case-insensitive occurrences of the query in title and content.
400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Request validation error
Framework validation issues, when available
Array items
object401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users