Create a project

posthttps://api.faraday.ai/v1/projects
This endpoint is experimental and may change without notice.

Declare the exact output columns you want, in the exact order you want them.

The response carries the resolved output schema and the usage ceiling straight away. No
data is read and no person is sampled.

Authentication

Bearer Authentication

Provide your API key in the Authorization header. You can find your API key in the Settings page of the dashboard.

Authorization: Bearer YOUR_TOKEN

Body

The definition of the new Project.

column_orderarray[string]required

The output columns, in output order, by header.

This array holds every header declared in payload exactly once, and no header
that the payload does not declare.

Example: ["person_id","lead_score","lead_percentile"]
Minimum items: 1
Unique items: required
namestringrequired

Human-readable label for this Project.

Example: "Lead scoring"
Match pattern: ^(?!\s*$).+
Maximum characters: 64
payloaddictionary[string, object]required

The sources this Project draws on, keyed by your own element key.

The order of this map means nothing. column_order alone decides output order.

Every column header is unique across the whole paylo...

Minimum properties: 1
Additional properties: allowed (values are object)
Values of dictionary[string, object]
Properties of each dictionary value:
type
type#stringrequireddiscriminator
Value: "outcome"
columnsdictionary[string, object]required

The output columns drawn from this outcome, keyed by output column header.

Minimum properties: 1
Additional properties: allowed (values are object)
Values of dictionary[string, object]
Properties of each dictionary value:

What to do when several values must become one value for this column.

The same strategy is applied at each point where that happens:

  • Several source values for one person, whether or not the output...
Example: "mean"
Allowed values: nullify, first, last, count, count_distinct, mean, median, mode, min, max, sum, and, or, xor, concatenate_comma, concatenate_pipe, concatenate_space, concatenate_unique_comma, concatenate_unique_pipe, concatenate_unique_space
componentstringrequired

Which value to emit. lift is the person’s calibrated probability divided by the Outcome generation’s conversion rate, rounded to five decimal places. A lift of 1 means average conversion likelihood....

Allowed values: calibrated_probability, probability_percentile, lift
frame_of_referenceone of 3 types

The instant a value is read as of. Omit it to read the current value.

A source answers with the latest value at or before the resolved instant, never a later
one. Where a source cannot answer at all,...

Properties of one of 3 types
One of:
timestampstring<date-time>required

The instant to read as of.

Example: "2026-01-01T00:00:00Z"
outcome_idstring<uuid>required

The outcome to read.

Responses

200The new Project.
archived_atstring<date-time>

If not null, this resource will no longer receive updates, but will still be visable.

column_orderarray[string]required

The output columns, in output order, by header.

This array holds every header declared in payload exactly once, and no header
that the payload does not declare.

Example: ["person_id","lead_score","lead_percentile"]
Minimum items: 1
Unique items: required
created_atstring<date-time>required

When this resource was created. It says nothing about builds; to check status, see Status and timestamps.

idstring<uuid>required

A unique ID for this resource.

Example: "c6c7ae9c-5b8a-4f36-8ea6-9d4bb9b8dcf1"
last_read_input_atstring<date-time>

When the latest finished build started reading this resource's configuration and inputs; omitted until the first build finishes. Once this is at or after last_updated_config_at, a build with the cur...

last_updated_config_atstring<date-time>

When Faraday registered the latest change to this resource's configuration, or the latest force_update. A create, update or force_update response carries the value then on record (an update that c...

last_updated_output_atstring<date-time>

When a build last changed this resource's output. A build that finishes with nothing new to write does not move it.

namestringrequired

Human-readable label for this Project.

Example: "Lead scoring"
Match pattern: ^(?!\s*$).+
Maximum characters: 64
payloaddictionary[string, object]required

The sources this Project draws on, keyed by your own element key.

The order of this map means nothing. column_order alone decides output order.

Every column header is unique across the whole paylo...

Minimum properties: 1
Additional properties: allowed (values are object)
Values of dictionary[string, object]
Properties of each dictionary value:
type
type#stringrequireddiscriminator
Value: "outcome"
columnsdictionary[string, object]required

The output columns drawn from this outcome, keyed by output column header.

Minimum properties: 1
Additional properties: allowed (values are object)
Values of dictionary[string, object]
Properties of each dictionary value:

What to do when several values must become one value for this column.

The same strategy is applied at each point where that happens:

  • Several source values for one person, whether or not the output...
Example: "mean"
Allowed values: nullify, first, last, count, count_distinct, mean, median, mode, min, max, sum, and, or, xor, concatenate_comma, concatenate_pipe, concatenate_space, concatenate_unique_comma, concatenate_unique_pipe, concatenate_unique_space
componentstringrequired

Which value to emit. lift is the person’s calibrated probability divided by the Outcome generation’s conversion rate, rounded to five decimal places. A lift of 1 means average conversion likelihood....

Allowed values: calibrated_probability, probability_percentile, lift
frame_of_referenceone of 3 types

The instant a value is read as of. Omit it to read the current value.

A source answers with the latest value at or before the resolved instant, never a later
one. Where a source cannot answer at all,...

Properties of one of 3 types
One of:
timestampstring<date-time>required

The instant to read as of.

Example: "2026-01-01T00:00:00Z"
outcome_idstring<uuid>required

The outcome to read.

previewobjectrequired

What a Project will produce, worked out from its configuration.

The resolved schema, the usage ceiling, and each element's readiness need no data run and
are always present. Sample rows appear only in the response to a sample request.

Additional properties: not allowed
Properties of object

Trait and event inputs a compute subject may supply for this Project.
A name or property outside this set is rejected.

Additional properties: not allowed
Properties of object
eventsarray[object]

Streams whose history the selected models use, including a stream used only to
decide eligibility or the end of a rollup window.

Items of array[object]
element_keysarray[string]required

The payload elements that consume this stream.

Minimum items: 1
namestringrequired

The account stream name, as you send it under prediction_inputs.events.

Example: "orders"
propertiesarray[object]required

Properties of this stream that the Project reads, besides datetime. Each
submitted event may include these and no others.

Items of array[object]
data_typestringrequired

The data type of a column in table, or of a trait. Types are expressed using a subset of
Avro. Possible values include:

  • boolean: A Boolean value.
    -...
Example: "string"
Allowed values: boolean, long, double, string, date
namestringrequired

The stream property name.

Example: "amount"
nullablebooleanrequired

Whether a submitted event may set this property to null.

traitsarray[object]

First-party traits the selected models accept. The names and types match
required_prediction_inputs.

Items of array[object]
data_typestringrequired

The scalar type this trait must be, or null.

Allowed values: string, number, boolean, date
element_keysarray[string]required

The payload elements that consume this trait.

Minimum items: 1
namestringrequired

The account trait name, as you send it under prediction_inputs.traits.

Example: "lead_source"
element_statusdictionary[string, string]required

Each payload element's readiness, keyed by element key. A column whose element is not
ready comes back null with a warning rather than failing the request.

Additional properties: allowed (values are string)

Accepted first-party trait overrides for the selected models. Omitted values use
available stored traits. An unknown name or wrong type is rejected. Explicit null
uses the model's missing-value behavi...

Items of array[object]
data_typestringrequired

The scalar type this trait must be, or null.

Allowed values: string, number, boolean, date
element_keysarray[string]required

The payload elements that consume this trait.

Minimum items: 1
namestringrequired

The account trait name, as you send it under prediction_inputs.traits.

Example: "lead_source"
samplearray[object]

A few rows in the exact output shape, keyed by output column header, at person grain.
Identity class values are blurred, so a sample never delivers real contact data.

Present only in the response to ...

sample_warningsarray[object]

Header-addressed explanations from the compute reader for null or unavailable sample
values. Repeated warnings are deduplicated and sampled identities are never included.
These warnings describe compu...

Items of array[object]
codestringrequired

Why the columns are null: the value comes from previous delivery history, which
compute does not keep; the affected element is not ready; compute does not read the source
(your own dataset, trait, coh...

Allowed values: element_not_ready, source_not_available_for_compute, frame_not_available_for_compute, historical_value_unavailable, prediction_input_missing, prediction_unscorable, possible_duplicate_event, stored_ranking
headersarray[string]required

The output columns this warning covers.

notestringrequired

A human-readable description of the warning.

schemaarray[object]required

One entry per output column, in output order. This is the complete output schema:
nothing adds, renames, reorders, or removes a column later.

Items of array[object]
as_of_basisstringrequired

Read-only summary of the element's configured frame of reference: current state, one
fixed instant, each person's entrance to a cohort, or an instant carried in a dataset.
A row using a configured fallback does not change this value.

Allowed values: current, fixed_timestamp, cohort_entrance, dataset_timestamp

Which subject types can receive a value for this column in compute. Match metadata
and Attributes with address or postcode precision are available for either type,
including their configured imput...

Allowed values: person, residence, either
compute_availablebooleanrequired

Whether compute can serve this column. Where this is false, compute returns null for
the column and carries a warning naming it.

False for historical frame_of_reference and geometry columns. Cohort...

data_typestringrequired

The data type a Project column emits. datetime is an instant with a time of day, and
json is a structured JSON value.

Allowed values: boolean, long, double, string, date, datetime, json

Present on Atlas location distance columns.

Allowed values: meters, miles
headerstringrequired

The name of one output column.

A header is unique across the whole payload, and Project.column_order lists every
header exactly once.

Example: "lead_score"
Match pattern: ^[A-Za-z_][A-Za-z0-9_]*$
Minimum characters: 1
Maximum characters: 128
nullablebooleanrequired

Whether this column can be null, for any reason: an element that is not ready, a row
that did not match, a nullify strategy, a suppressed value, or a source that could
not answer the requested instant.

precisionstring

Which table an attribute column reads. Omit it and the column reads the person table.
One grain per column. A missing value at that grain is null. Faraday does not combine
person, address, and postcode on its own.

Allowed values: person, address, postcode

Historical time resolution. day means the requested instant is floored to a UTC
date before the value is read. event_timestamp selects the latest recorded value at
or before the requested instant;...

Allowed values: day, event_timestamp
source_labelstringrequired

Human-readable provenance for the underlying data or model. This is not the payload
element key and must not be used as a stable element identifier.

Example: "Lead scoring (outcome) · calibrated_probability"
resource_typestringrequired

The type of this resource.

Example: "projects"
statusstringrequired

The state of this resource's latest build. Until last_read_input_at is at or after last_updated_config_at, no build with the current configuration has finished (starting or running means one i...

Example: "ready"
Allowed values: new, starting, running, ready, error
status_changed_atstring<date-time>

When the status of this resource was last updated.

If this resource has status == "error", this will contain an error message.

What Faraday is waiting for before it builds a resource with status == "error" again. user: a configuration change to this resource or a force_update. support: Faraday support, and `force_upda...

Allowed values: user, support
updated_atstring<date-time>required

When this resource was last changed, by an edit or by Faraday while building it. Don't use it to check status; use last_updated_config_at and last_read_input_at as Status and timestamps explains.

400The request was invalid.
errorstringrequired

A Faraday error code.

Some possible values include:

Generic HTTP Errors

  • BAD_REQUEST: The request could not be validated.
  • FORBIDDEN: You do not have permission to access the specified resour...
Example: "ERROR_TYPE"
Allowed values: BAD_REQUEST, FORBIDDEN, MAX_RESOURCES_REACHED, INTERNAL_SERVER_ERROR, INVALID_AUTHORIZATION, NOT_FOUND, MALFORMED_API_KEY, MISSING_API_KEY, EXPIRED_API_KEY, INVALID_API_KEY, ACCOUNT_SUSPENDED, ACCOUNT_DELETED, VALIDATION_FAILED, CONFLICT, QUOTA_EXCEEDED
idstring<uuid>required

A unique ID for this error. Please include this in bug reports.

Example: "082f9513-901c-4308-8081-902a8fe22d7e"
notestringrequired

A human-readable description of the error.

Example: "An error occurred"
validationErrorsarray[object]

JSON Schema validation errors, if any.

Items of array[object]
contextobjectrequired

More information about the error.

Properties of object
errorTypestringrequired

The type of validation error which occurred.

messagestringrequired

A human-readable error message.

pathstringrequired

The location in the document that failed validation.

A suggestion for fixing this error.

401No API key was supplied.
errorstringrequired

A Faraday error code.

Some possible values include:

Generic HTTP Errors

  • BAD_REQUEST: The request could not be validated.
  • FORBIDDEN: You do not have permission to access the specified resour...
Example: "ERROR_TYPE"
Allowed values: BAD_REQUEST, FORBIDDEN, MAX_RESOURCES_REACHED, INTERNAL_SERVER_ERROR, INVALID_AUTHORIZATION, NOT_FOUND, MALFORMED_API_KEY, MISSING_API_KEY, EXPIRED_API_KEY, INVALID_API_KEY, ACCOUNT_SUSPENDED, ACCOUNT_DELETED, VALIDATION_FAILED, CONFLICT, QUOTA_EXCEEDED
idstring<uuid>required

A unique ID for this error. Please include this in bug reports.

Example: "082f9513-901c-4308-8081-902a8fe22d7e"
notestringrequired

A human-readable description of the error.

Example: "An error occurred"
validationErrorsarray[object]

JSON Schema validation errors, if any.

Items of array[object]
contextobjectrequired

More information about the error.

Properties of object
errorTypestringrequired

The type of validation error which occurred.

messagestringrequired

A human-readable error message.

pathstringrequired

The location in the document that failed validation.

A suggestion for fixing this error.

403Access to this resource was forbidden.
errorstringrequired

A Faraday error code.

Some possible values include:

Generic HTTP Errors

  • BAD_REQUEST: The request could not be validated.
  • FORBIDDEN: You do not have permission to access the specified resour...
Example: "ERROR_TYPE"
Allowed values: BAD_REQUEST, FORBIDDEN, MAX_RESOURCES_REACHED, INTERNAL_SERVER_ERROR, INVALID_AUTHORIZATION, NOT_FOUND, MALFORMED_API_KEY, MISSING_API_KEY, EXPIRED_API_KEY, INVALID_API_KEY, ACCOUNT_SUSPENDED, ACCOUNT_DELETED, VALIDATION_FAILED, CONFLICT, QUOTA_EXCEEDED
idstring<uuid>required

A unique ID for this error. Please include this in bug reports.

Example: "082f9513-901c-4308-8081-902a8fe22d7e"
notestringrequired

A human-readable description of the error.

Example: "An error occurred"
validationErrorsarray[object]

JSON Schema validation errors, if any.

Items of array[object]
contextobjectrequired

More information about the error.

Properties of object
errorTypestringrequired

The type of validation error which occurred.

messagestringrequired

A human-readable error message.

pathstringrequired

The location in the document that failed validation.

A suggestion for fixing this error.

404The requested resource ID was not found.
errorstringrequired

A Faraday error code.

Some possible values include:

Generic HTTP Errors

  • BAD_REQUEST: The request could not be validated.
  • FORBIDDEN: You do not have permission to access the specified resour...
Example: "ERROR_TYPE"
Allowed values: BAD_REQUEST, FORBIDDEN, MAX_RESOURCES_REACHED, INTERNAL_SERVER_ERROR, INVALID_AUTHORIZATION, NOT_FOUND, MALFORMED_API_KEY, MISSING_API_KEY, EXPIRED_API_KEY, INVALID_API_KEY, ACCOUNT_SUSPENDED, ACCOUNT_DELETED, VALIDATION_FAILED, CONFLICT, QUOTA_EXCEEDED
idstring<uuid>required

A unique ID for this error. Please include this in bug reports.

Example: "082f9513-901c-4308-8081-902a8fe22d7e"
notestringrequired

A human-readable description of the error.

Example: "An error occurred"
validationErrorsarray[object]

JSON Schema validation errors, if any.

Items of array[object]
contextobjectrequired

More information about the error.

Properties of object
errorTypestringrequired

The type of validation error which occurred.

messagestringrequired

A human-readable error message.

pathstringrequired

The location in the document that failed validation.

A suggestion for fixing this error.

409The request was formatted correctly, but conflicted with an existing resource.
errorstringrequired

A Faraday error code.

Some possible values include:

Generic HTTP Errors

  • BAD_REQUEST: The request could not be validated.
  • FORBIDDEN: You do not have permission to access the specified resour...
Example: "ERROR_TYPE"
Allowed values: BAD_REQUEST, FORBIDDEN, MAX_RESOURCES_REACHED, INTERNAL_SERVER_ERROR, INVALID_AUTHORIZATION, NOT_FOUND, MALFORMED_API_KEY, MISSING_API_KEY, EXPIRED_API_KEY, INVALID_API_KEY, ACCOUNT_SUSPENDED, ACCOUNT_DELETED, VALIDATION_FAILED, CONFLICT, QUOTA_EXCEEDED
idstring<uuid>required

A unique ID for this error. Please include this in bug reports.

Example: "082f9513-901c-4308-8081-902a8fe22d7e"
notestringrequired

A human-readable description of the error.

Example: "An error occurred"
validationErrorsarray[object]

JSON Schema validation errors, if any.

Items of array[object]
contextobjectrequired

More information about the error.

Properties of object
errorTypestringrequired

The type of validation error which occurred.

messagestringrequired

A human-readable error message.

pathstringrequired

The location in the document that failed validation.

A suggestion for fixing this error.

422The request was valid JSON, but it broke a rule that spans several fields or depends on your account. The note names the fields involved.
errorstringrequired

A Faraday error code.

Some possible values include:

Generic HTTP Errors

  • BAD_REQUEST: The request could not be validated.
  • FORBIDDEN: You do not have permission to access the specified resour...
Example: "ERROR_TYPE"
Allowed values: BAD_REQUEST, FORBIDDEN, MAX_RESOURCES_REACHED, INTERNAL_SERVER_ERROR, INVALID_AUTHORIZATION, NOT_FOUND, MALFORMED_API_KEY, MISSING_API_KEY, EXPIRED_API_KEY, INVALID_API_KEY, ACCOUNT_SUSPENDED, ACCOUNT_DELETED, VALIDATION_FAILED, CONFLICT, QUOTA_EXCEEDED
idstring<uuid>required

A unique ID for this error. Please include this in bug reports.

Example: "082f9513-901c-4308-8081-902a8fe22d7e"
notestringrequired

A human-readable description of the error.

Example: "An error occurred"
validationErrorsarray[object]

JSON Schema validation errors, if any.

Items of array[object]
contextobjectrequired

More information about the error.

Properties of object
errorTypestringrequired

The type of validation error which occurred.

messagestringrequired

A human-readable error message.

pathstringrequired

The location in the document that failed validation.

A suggestion for fixing this error.

500An internal server error occurred.
errorstringrequired

A Faraday error code.

Some possible values include:

Generic HTTP Errors

  • BAD_REQUEST: The request could not be validated.
  • FORBIDDEN: You do not have permission to access the specified resour...
Example: "ERROR_TYPE"
Allowed values: BAD_REQUEST, FORBIDDEN, MAX_RESOURCES_REACHED, INTERNAL_SERVER_ERROR, INVALID_AUTHORIZATION, NOT_FOUND, MALFORMED_API_KEY, MISSING_API_KEY, EXPIRED_API_KEY, INVALID_API_KEY, ACCOUNT_SUSPENDED, ACCOUNT_DELETED, VALIDATION_FAILED, CONFLICT, QUOTA_EXCEEDED
idstring<uuid>required

A unique ID for this error. Please include this in bug reports.

Example: "082f9513-901c-4308-8081-902a8fe22d7e"
notestringrequired

A human-readable description of the error.

Example: "An error occurred"
validationErrorsarray[object]

JSON Schema validation errors, if any.

Items of array[object]
contextobjectrequired

More information about the error.

Properties of object
errorTypestringrequired

The type of validation error which occurred.

messagestringrequired

A human-readable error message.

pathstringrequired

The location in the document that failed validation.

A suggestion for fixing this error.

Tags

projects