POST
/
projects

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
string
required

Project ID from the blueprint smart contract.

name
string
required

Project name.

user_address
string
required

User's blockchain address (in hex format).

proposal_request_id
string

On-chain proposal request ID.

deployment_request_id
string

On-chain deployment request ID.

target_performance
number

Target performance value from the chatbot.

pay_amount
number

Payment amount in the payment page.

status
enum<string>

Status of the project.

Available options:
draft,
waiting_proposal,
setting_proposal,
setting_pay,
waiting_deployment,
deploying,
live,
terminated
da_name
string

Name of the DA (Data Availability).

cost
number

Total cost (in USD).

solver_uuid
string

UUID of the solver.

proposal_id
number

Proposal ID from the solver.

workers_uuid
string

List of workers' UUIDs, separated by commas.

deployment_id
number

ID of the deployment from the worker.

pop
string

Point of presence (POP) from the frontend.

recommendation_param
object

Recommendation parameters from the smart contract.

Response

200 - application/json
id
string
required

Project ID from the blueprint smart contract.

name
string
required

Project name.

user_address
string
required

User's blockchain address (in hex format).

proposal_request_id
string

On-chain proposal request ID.

deployment_request_id
string

On-chain deployment request ID.

target_performance
number

Target performance value from the chatbot.

pay_amount
number

Payment amount in the payment page.

status
enum<string>

Status of the project.

Available options:
draft,
waiting_proposal,
setting_proposal,
setting_pay,
waiting_deployment,
deploying,
live,
terminated
da_name
string

Name of the DA (Data Availability).

cost
number

Total cost (in USD).

solver_uuid
string

UUID of the solver.

proposal_id
number

Proposal ID from the solver.

workers_uuid
string

List of workers' UUIDs, separated by commas.

deployment_id
number

ID of the deployment from the worker.

pop
string

Point of presence (POP) from the frontend.

created_at
string

Timestamp when the project was created.

updated_at
string

Timestamp when the project was last updated.

recommendation_param
object

Recommendation parameters from the smart contract.

proposed_solver
object
deployed_workers
object[]

Array of deployed workers.