KittyCAD logo

API Reference

KittyCAD's API is organized around REST. Our API has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.

The root endpoint / returns the OpenAPI specification for the API. It's handy if you want to use it to generate things.

Base url
https://api.kittycad.io
Client libraries

Authentication

KittyCAD's API uses API keys, also referred to as API tokens, to authenticate requests. You can view and manage your API keys in your account on the KittyCAD website.

Authentication to the API is performed via Bearer Token Auth. Provide your API key as the token value. We will automatically add your token to the examples here if you are logged in.

All API requests must be made over HTTPS. API requests without authentication will fail.

Authenticated request
$ curl --header "Authorization: Bearer $TOKEN" \
	"https://api.kittycad.io/_meta/debug/session"

Errors

KittyCAD uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, etc.). Codes in the 5xx range indicate an error with KittyCAD's servers (these are rare).

HTTP Status Code Summary
400 - Bad RequestThe request failed could not authenticate, but the token existed.
401 - UnauthorizedNo valid API key provided.
403 - ForbiddenThe API key doesn't have permissions to perform the request.
404 - Not FoundThe requested resource doesn't exist.
406 - Not AcceptableThe request was unacceptable, often due to missing a required parameter.
500 - Internal Server ErrorThe server encountered an unexpected condition that prevented it from fulfilling the request.

API Calls

Get an async operation

Get the status and output of an async operation.

This endpoint requires authentication by any KittyCAD user. It returns details of the requested async operation for the user.

If the user is not authenticated to view the specified async operation, then it is not returned.

Only KittyCAD employees with the proper access can view async operations for other users.

Parameters

  • idstringrequired

    The ID of the async operation.

Returns

200 OK

successful operation

    GET/async/operations/{id}
    $ curl "https://api.kittycad.io/async/operations/{id}" \
    	--header "Authorization: Bearer $TOKEN"
    200 OK
    Response
    {
      "center_of_mass": [
        13
      ],
      "completed_at": "2023-03-19T18:23:54.591Z",
      "created_at": "2023-03-19T18:23:54.591Z",
      "error": "xWqxIcGA",
      "id": "2516dfa7-2e29-46d7-bb69-9e38248ac3ed",
      "material_density": 22,
      "src_format": "stl",
      "started_at": "2023-03-19T18:23:54.591Z",
      "status": "Failed",
      "updated_at": "2023-03-19T18:23:54.591Z",
      "user_id": "4y912u180eduu54qusP2MsLMCAXl1G"
    }

    List API calls for your user

    This endpoint requires authentication by any KittyCAD user. It returns the API calls for the authenticated user.

    The API calls are returned in order of creation, with the most recently created API calls first.

    Parameters

    • limitintegeroptional

      Maximum number of items returned by a single call

    • page_tokenstringoptional

      Token returned by previous call to retrieve the subsequent page

    • sort_bystringrequired

      Supported set of sort modes for scanning by created_at only.

      Currently, we only support scanning in ascending order.

      Possible values
      • created-at-ascending
      • created-at-descending

    Returns

    200 OK

    successful operation

    • itemsarrayoptional

      list of items on this page of results

      Array of
      • completed_atstringISO-8601optional

        The date and time the API call completed billing.

      • created_atstringISO-8601optional

        The date and time the API call was created.

      • durationintegerDurationoptional

        The duration of the API call.

      • emailstringEmail Addressoptional

        The user's email address.

      • endpointstringoptional

        The endpoint requested by the API call.

      • idstringUUIDoptional

        The unique identifier for the API call. A uuid.

        A Version 4 UUID is a universally unique identifier that is generated using random numbers.

      • ip_addressstringIP Addressoptional

        The ip address of the origin.

      • litterboxbooleanoptional

        If the API call was spawned from the litterbox or not.

      • methodstringoptional

        The HTTP method requsted by the API call. The Request Method (VERB)

        This type also contains constants for a number of common HTTP methods such as GET, POST, etc.

        Currently includes 8 variants representing the 8 methods defined in RFC 7230, plus PATCH, and an Extension variant for all extensions.

        Possible values
        • OPTIONS
        • GET
        • POST
        • PUT
        • DELETE
        • HEAD
        • TRACE
        • CONNECT
        • PATCH
        • EXTENSION
      • minutesintegeroptional

        The number of minutes the API call was billed for.

      • originstringoptional

        The origin of the API call.

      • pricenumberUSD Priceoptional

        The price of the API call.

      • request_bodystringoptional

        The request body sent by the API call.

      • request_query_paramsstringoptional

        The request query params sent by the API call.

      • response_bodystringoptional

        The response body returned by the API call. We do not store this information if it is above a certain size.

      • started_atstringISO-8601optional

        The date and time the API call started billing.

      • status_codeintegeroptional

        The status code returned by the API call.

      • stripe_invoice_item_idstringoptional

        The Stripe invoice item ID of the API call if it is billable.

      • tokenstringUUIDoptional

        The API token that made the API call. A uuid.

        A Version 4 UUID is a universally unique identifier that is generated using random numbers.

      • updated_atstringISO-8601optional

        The date and time the API call was last updated.

      • user_agentstringoptional

        The user agent of the request.

      • user_idstringoptional

        The ID of the user that made the API call.

    • next_pagestringoptional

      token used to fetch the next page of results (if any)

    GET/user/api-calls
    $ curl "https://api.kittycad.io/user/api-calls" \
    	--header "Authorization: Bearer $TOKEN"
    200 OK
    Response
    {
      "items": [
        {
          "completed_at": "2023-03-19T18:23:54.617Z",
          "created_at": "2023-03-19T18:23:54.617Z",
          "duration": 24,
          "email": "szxGHPf@o3T6.com",
          "endpoint": "5StgcvxTk7NxHBElGu423",
          "id": "9ea64055-c2e5-424d-8a84-7643a0813f40",
          "ip_address": "192.0.2.13",
          "litterbox": false,
          "method": "OPTIONS",
          "minutes": 20,
          "origin": "gS90QNtuEIekE2Y6J",
          "price": "92.26",
          "request_body": "Fo9bBsRjDDeP7krjt7iAELvFL",
          "request_query_params": "RYlyqwdPJvFWKBjawZ4YTBANE8x",
          "response_body": "inpmLolivPeLqqeRa2cyFmUjZTraYU",
          "started_at": "2023-03-19T18:23:54.617Z",
          "status_code": 4,
          "stripe_invoice_item_id": "1120v4TMEQW7bEIWeDteJX",
          "token": "92e5bde4-f089-4c74-b854-beb69ea0d20d",
          "updated_at": "2023-03-19T18:23:54.617Z",
          "user_agent": "ZCJLpaYZ9afFmHjAcvf",
          "user_id": "kaH2mtT4WJG7Jr"
        }
      ],
      "next_page": "7Q35o8inU"
    }

    Get an API call for a user

    This endpoint requires authentication by any KittyCAD user. It returns details of the requested API call for the user.

    Parameters

    • idstringrequired

      The ID of the API call.

    Returns

    200 OK

    successful operation

    • completed_atstringISO-8601optional

      The date and time the API call completed billing.

    • created_atstringISO-8601optional

      The date and time the API call was created.

    • durationintegerDurationoptional

      The duration of the API call.

    • emailstringEmail Addressoptional

      The user's email address.

    • endpointstringoptional

      The endpoint requested by the API call.

    • idstringUUIDoptional

      The unique identifier for the API call. A uuid.

      A Version 4 UUID is a universally unique identifier that is generated using random numbers.

    • ip_addressstringIP Addressoptional

      The ip address of the origin.

    • litterboxbooleanoptional

      If the API call was spawned from the litterbox or not.

    • methodstringoptional

      The HTTP method requsted by the API call. The Request Method (VERB)

      This type also contains constants for a number of common HTTP methods such as GET, POST, etc.

      Currently includes 8 variants representing the 8 methods defined in RFC 7230, plus PATCH, and an Extension variant for all extensions.

      Possible values
      • OPTIONS
      • GET
      • POST
      • PUT
      • DELETE
      • HEAD
      • TRACE
      • CONNECT
      • PATCH
      • EXTENSION
    • minutesintegeroptional

      The number of minutes the API call was billed for.

    • originstringoptional

      The origin of the API call.

    • pricenumberUSD Priceoptional

      The price of the API call.

    • request_bodystringoptional

      The request body sent by the API call.

    • request_query_paramsstringoptional

      The request query params sent by the API call.

    • response_bodystringoptional

      The response body returned by the API call. We do not store this information if it is above a certain size.

    • started_atstringISO-8601optional

      The date and time the API call started billing.

    • status_codeintegeroptional

      The status code returned by the API call.

    • stripe_invoice_item_idstringoptional

      The Stripe invoice item ID of the API call if it is billable.

    • tokenstringUUIDoptional

      The API token that made the API call. A uuid.

      A Version 4 UUID is a universally unique identifier that is generated using random numbers.

    • updated_atstringISO-8601optional

      The date and time the API call was last updated.

    • user_agentstringoptional

      The user agent of the request.

    • user_idstringoptional

      The ID of the user that made the API call.

    GET/user/api-calls/{id}
    $ curl "https://api.kittycad.io/user/api-calls/{id}" \
    	--header "Authorization: Bearer $TOKEN"
    200 OK
    Response
    {
      "completed_at": "2023-03-19T18:23:54.647Z",
      "created_at": "2023-03-19T18:23:54.647Z",
      "duration": 20,
      "email": "obrlyNWal@0O.com",
      "endpoint": "xxFIR4CUfyDFIwdU",
      "id": "96e6cc4c-289f-4337-8944-34d04137c73a",
      "ip_address": "192.0.2.50",
      "litterbox": false,
      "method": "OPTIONS",
      "minutes": 26,
      "origin": "aXi0de",
      "price": "15.20",
      "request_body": "QIBNN",
      "request_query_params": "pTX3TeGeqenA7MFTM",
      "response_body": "jb6sfb5UNkrtHkfLdI3HrY4u",
      "started_at": "2023-03-19T18:23:54.647Z",
      "status_code": 13,
      "stripe_invoice_item_id": "EOsQBo16y",
      "token": "54bd4ee9-30be-4dd6-94d8-948c5ac38696",
      "updated_at": "2023-03-19T18:23:54.647Z",
      "user_agent": "g",
      "user_id": "MstzytCgfuNLdfpnlNl"
    }

    API Tokens

    List API tokens for your user

    This endpoint requires authentication by any KittyCAD user. It returns the API tokens for the authenticated user.

    The API tokens are returned in order of creation, with the most recently created API tokens first.

    Parameters

    • limitintegeroptional

      Maximum number of items returned by a single call

    • page_tokenstringoptional

      Token returned by previous call to retrieve the subsequent page

    • sort_bystringrequired

      Supported set of sort modes for scanning by created_at only.

      Currently, we only support scanning in ascending order.

      Possible values
      • created-at-ascending
      • created-at-descending

    Returns

    200 OK

    successful operation

    • itemsarrayoptional

      list of items on this page of results

      Array of
      • created_atstringISO-8601optional

        The date and time the API token was created.

      • idstringoptional

        The unique identifier for the API token.

      • is_validbooleanoptional

        If the token is valid. We never delete API tokens, but we can mark them as invalid. We save them for ever to preserve the history of the API token.

      • tokenstringUUIDoptional

        The API token itself. A uuid.

        A Version 4 UUID is a universally unique identifier that is generated using random numbers.

      • updated_atstringISO-8601optional

        The date and time the API token was last updated.

      • user_idstringoptional

        The ID of the user that owns the API token.

    • next_pagestringoptional

      token used to fetch the next page of results (if any)

    GET/user/api-tokens
    $ curl "https://api.kittycad.io/user/api-tokens" \
    	--header "Authorization: Bearer $TOKEN"
    200 OK
    Response
    {
      "items": [
        {
          "created_at": "2023-03-19T18:23:54.665Z",
          "id": "0CX2kORQdmRBKOn3s1rh",
          "is_valid": false,
          "token": "6dd589e5-3d91-4fc6-b442-40e3e3672977",
          "updated_at": "2023-03-19T18:23:54.665Z",
          "user_id": "KcwEWbPSdkzi1"
        }
      ],
      "next_page": "KRdpVBwN0F4vrWlhmjE5"
    }

    Create a new API token for your user

    This endpoint requires authentication by any KittyCAD user. It creates a new API token for the authenticated user.

    Parameters

    No parameters

    Returns

    201 Created

    successful creation

    • created_atstringISO-8601optional

      The date and time the API token was created.

    • idstringoptional

      The unique identifier for the API token.

    • is_validbooleanoptional

      If the token is valid. We never delete API tokens, but we can mark them as invalid. We save them for ever to preserve the history of the API token.

    • tokenstringUUIDoptional

      The API token itself. A uuid.

      A Version 4 UUID is a universally unique identifier that is generated using random numbers.

    • updated_atstringISO-8601optional

      The date and time the API token was last updated.

    • user_idstringoptional

      The ID of the user that owns the API token.

    POST/user/api-tokens
    $ curl -X POST "https://api.kittycad.io/user/api-tokens" \
    	--header "Authorization: Bearer $TOKEN"
    201 Created
    Response
    {
      "created_at": "2023-03-19T18:23:54.676Z",
      "id": "bsUOTn8T7mUH9H",
      "is_valid": true,
      "token": "0af9c3ef-b3fd-43be-a204-678ef48e317d",
      "updated_at": "2023-03-19T18:23:54.676Z",
      "user_id": "qe6WWMB0hItr2IePYk"
    }

    Delete an API token for your user

    This endpoint requires authentication by any KittyCAD user. It deletes the requested API token for the user.

    This endpoint does not actually delete the API token from the database. It merely marks the token as invalid. We still want to keep the token in the database for historical purposes.

    Parameters

    • tokenstringUUIDrequired

      The API token.

    Returns

    204 No Content

    successful deletion

    DELETE/user/api-tokens/{token}
    $ curl -X DELETE "https://api.kittycad.io/user/api-tokens/{token}" \
    	--header "Authorization: Bearer $TOKEN"

    Get an API token for your user

    This endpoint requires authentication by any KittyCAD user. It returns details of the requested API token for the user.

    Parameters

    • tokenstringUUIDrequired

      The API token.

    Returns

    200 OK

    successful operation

    • created_atstringISO-8601optional

      The date and time the API token was created.

    • idstringoptional

      The unique identifier for the API token.

    • is_validbooleanoptional

      If the token is valid. We never delete API tokens, but we can mark them as invalid. We save them for ever to preserve the history of the API token.

    • tokenstringUUIDoptional

      The API token itself. A uuid.

      A Version 4 UUID is a universally unique identifier that is generated using random numbers.

    • updated_atstringISO-8601optional

      The date and time the API token was last updated.

    • user_idstringoptional

      The ID of the user that owns the API token.

    GET/user/api-tokens/{token}
    $ curl "https://api.kittycad.io/user/api-tokens/{token}" \
    	--header "Authorization: Bearer $TOKEN"
    200 OK
    Response
    {
      "created_at": "2023-03-19T18:23:54.687Z",
      "id": "9x6cFUEJKMqaAlE",
      "is_valid": true,
      "token": "980ca8e1-55df-4564-97f8-5b376579f531",
      "updated_at": "2023-03-19T18:23:54.687Z",
      "user_id": "3fPKdbl9xjYqmjqt"
    }

    Constant

    Get a physics constant

    Parameters

    • constantstringrequired

      The constant to get.

      Possible values
      • pi
      • c
      • speed_of_light
      • G
      • newtonian_gravitation
      • h
      • planck_const
      • mu_0
      • vacuum_permeability
      • E_0
      • vacuum_permitivity
      • Z_0
      • vacuum_impedance
      • k_e
      • coulomb_const
      • e
      • elementary_charge
      • m_e
      • electron_mass
      • m_p
      • proton_mass
      • mu_B
      • bohr_magneton
      • NA
      • avogadro_num
      • R
      • molar_gas_const
      • K_B
      • boltzmann_const
      • F
      • faraday_const
      • sigma
      • stefan_boltzmann_const

    Returns

    200 OK

    successful operation

    • completed_atstringISO-8601optional

      The time and date the API call was completed.

    • constantstringoptional

      The constant we are returning. The valid types of phys constant names.

      Possible values
      • pi
      • c
      • speed_of_light
      • G
      • newtonian_gravitation
      • h
      • planck_const
      • mu_0
      • vacuum_permeability
      • E_0
      • vacuum_permitivity
      • Z_0
      • vacuum_impedance
      • k_e
      • coulomb_const
      • e
      • elementary_charge
      • m_e
      • electron_mass
      • m_p
      • proton_mass
      • mu_B
      • bohr_magneton
      • NA
      • avogadro_num
      • R
      • molar_gas_const
      • K_B
      • boltzmann_const
      • F
      • faraday_const
      • sigma
      • stefan_boltzmann_const
    • created_atstringISO-8601optional

      The time and date the API call was created.

    • errorstringoptional

      The error the function returned, if any.

    • idstringUUIDoptional

      The unique identifier of the API call.

      This is the same as the API call ID. A uuid.

      A Version 4 UUID is a universally unique identifier that is generated using random numbers.

    • started_atstringISO-8601optional

      The time and date the API call was started.

    • statusstringoptional

      The status of the API call. The status of an async API call.

      Possible values
      • Queued
      • Uploaded
      • In Progress
      • Completed
      • Failed
    • updated_atstringISO-8601optional

      The time and date the API call was last updated.

    • user_idstringoptional

      The user ID of the user who created the API call.

    • valuenumberoptional

      The resulting value of the constant.

    GET/constant/physics/{constant}
    $ curl "https://api.kittycad.io/constant/physics/{constant}" \
    	--header "Authorization: Bearer $TOKEN"
    200 OK
    Response
    {
      "completed_at": "2023-03-19T18:23:54.698Z",
      "constant": "vacuum_impedance",
      "created_at": "2023-03-19T18:23:54.698Z",
      "error": "LVoECXSdXUxMF",
      "id": "14902534-3b9e-4be3-b644-36841485f313",
      "started_at": "2023-03-19T18:23:54.698Z",
      "status": "Failed",
      "updated_at": "2023-03-19T18:23:54.698Z",
      "user_id": "hmC5G87kgB0oo5Ede",
      "value": 22
    }

    File

    Convert 2D Vector file

    Convert a 2D Vector file from one format to another. If the file being converted is larger than 25MB, it will be performed asynchronously.

    If the conversion is performed synchronously, the contents of the converted file (output) will be returned as a base64 encoded string.

    If the operation is performed asynchronously, the id of the operation will be returned. You can use the id returned from the request to get status information about the async operation from the /async/operations/{id} endpoint.

    Parameters

    • output_formatstringrequired

      The format the file should be converted to.

      Possible values
      • dxf
      • json
      • png
      • ps
      • svg
    • src_formatstringrequired

      The format of the file to convert.

      Possible values
      • dxf
      • svg
    • bodyapplication/octet-streamstringBINARYoptional

    Returns

    201 Created

    successful creation

    • completed_atstringISO-8601optional

      The time and date the API call was completed.

    • created_atstringISO-8601optional

      The time and date the API call was created.

    • errorstringoptional

      The error the function returned, if any.

    • idstringUUIDoptional

      The unique identifier of the API call.

      This is the same as the API call ID. A uuid.

      A Version 4 UUID is a universally unique identifier that is generated using random numbers.

    • outputstringBASE64optional

      The converted file, if completed, base64 encoded.

    • output_formatstringoptional

      The output format of the file conversion. The valid types of Vector output file formats.

      Possible values
      • dxf
      • json
      • png
      • ps
      • svg
    • src_formatstringoptional

      The source format of the file conversion. The valid types of Vector source file formats.

      Possible values
      • dxf
      • svg
    • started_atstringISO-8601optional

      The time and date the API call was started.

    • statusstringoptional

      The status of the API call. The status of an async API call.

      Possible values
      • Queued
      • Uploaded
      • In Progress
      • Completed
      • Failed
    • updated_atstringISO-8601optional

      The time and date the API call was last updated.

    • user_idstringoptional

      The user ID of the user who created the API call.

    POST/file/2d/vector/conversion/{src_format}/{output_format}
    $ curl -X POST "https://api.kittycad.io/file/2d/vector/conversion/{src_format}/{output_format}" \
    	--header "Authorization: Bearer $TOKEN" \
    	--header "Content-Type: application/octet-stream" \
    	--data-binary "@path/to/file"
    201 Created
    Response
    {
      "completed_at": "2023-03-19T18:23:54.718Z",
      "created_at": "2023-03-19T18:23:54.718Z",
      "error": "BigcLl7bc5zWhoz",
      "id": "1553a708-cd8c-4d4c-805d-a0eea9a3ae6c",
      "output": "BASE64_ENCODED_BYTE_STRING",
      "output_format": "svg",
      "src_format": "svg",
      "started_at": "2023-03-19T18:23:54.718Z",
      "status": "Uploaded",
      "updated_at": "2023-03-19T18:23:54.718Z",
      "user_id": "JbRl6D0tbGsnMy"
    }

    Convert 3D file

    Convert a 3D file from one format to another. If the file being converted is larger than 25MB, it will be performed asynchronously.

    If the conversion is performed synchronously, the contents of the converted file (output) will be returned as a base64 encoded string.

    If the operation is performed asynchronously, the id of the operation will be returned. You can use the id returned from the request to get status information about the async operation from the /async/operations/{id} endpoint.

    Parameters

    • output_formatstringrequired

      The format the file should be converted to.

      Possible values
      • dae
      • fbx
      • fbxb
      • obj
      • obj_nomtl
      • ply
      • step
      • stl
    • src_formatstringrequired

      The format of the file to convert.

      Possible values
      • dae
      • dxf
      • fbx
      • obj_zip
      • obj
      • obj_nomtl
      • ply
      • step
      • stl
    • bodyapplication/octet-streamstringBINARYoptional

    Returns

    201 Created

    successful creation

    • completed_atstringISO-8601optional

      The time and date the API call was completed.

    • created_atstringISO-8601optional

      The time and date the API call was created.

    • errorstringoptional

      The error the function returned, if any.

    • idstringUUIDoptional

      The unique identifier of the API call.

      This is the same as the API call ID. A uuid.

      A Version 4 UUID is a universally unique identifier that is generated using random numbers.

    • outputstringBASE64optional

      The converted file, if completed, base64 encoded.

    • output_formatstringoptional

      The output format of the file conversion. The valid types of 3d output file formats, can include formats that use suplimentary files. For example, the OBJ format can use a MTL file.

      Possible values
      • dae
      • fbx
      • fbxb
      • obj
      • obj_nomtl
      • ply
      • step
      • stl
    • src_formatstringoptional

      The source format of the file conversion. The valid types of 3d source file formats, can include formats that use suplimentary files. For example, the OBJ format can use a MTL file.

      Possible values
      • dae
      • dxf
      • fbx
      • obj_zip
      • obj
      • obj_nomtl
      • ply
      • step
      • stl
    • started_atstringISO-8601optional

      The time and date the API call was started.

    • statusstringoptional

      The status of the API call. The status of an async API call.

      Possible values
      • Queued
      • Uploaded
      • In Progress
      • Completed
      • Failed
    • updated_atstringISO-8601optional

      The time and date the API call was last updated.

    • user_idstringoptional

      The user ID of the user who created the API call.

    POST/file/3d/conversion/{src_format}/{output_format}
    $ curl -X POST "https://api.kittycad.io/file/3d/conversion/{src_format}/{output_format}" \
    	--header "Authorization: Bearer $TOKEN" \
    	--header "Content-Type: application/octet-stream" \
    	--data-binary "@path/to/file"
    201 Created
    Response
    {
      "completed_at": "2023-03-19T18:23:54.732Z",
      "created_at": "2023-03-19T18:23:54.732Z",
      "error": "rcDZ1",
      "id": "a38a7bed-e23b-4788-9f31-a192196db58d",
      "output": "BASE64_ENCODED_BYTE_STRING",
      "output_format": "dae",
      "src_format": "ply",
      "started_at": "2023-03-19T18:23:54.732Z",
      "status": "Uploaded",
      "updated_at": "2023-03-19T18:23:54.732Z",
      "user_id": "Ql91pXvRR5SDz1s7xu"
    }

    Get CAD file center of mass   
    beta

    Get the center of mass of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously.

    Does the same as the center_of_mass_with_uniform_density endpoint; except, this has a redundant material_density value. Kept for legacy in this version.

    If the operation is performed asynchronously, the id of the operation will be returned. You can use the id returned from the request to get status information about the async operation from the /async/operations/{id} endpoint.

    Parameters

    • material_densitynumberrequired

      The material density.

    • src_formatstringrequired

      The format of the file.

      Possible values
      • dae
      • dxf
      • fbx
      • obj_zip
      • obj
      • obj_nomtl
      • ply
      • step
      • stl
    • bodyapplication/octet-streamstringBINARYoptional

    Returns

    201 Created

    successful creation

    • center_of_massarrayoptional

      The resulting center of mass.

    • completed_atstringISO-8601optional

      The time and date the API call was completed.

    • created_atstringISO-8601optional

      The time and date the API call was created.

    • errorstringoptional

      The error the function returned, if any.

    • idstringUUIDoptional

      The unique identifier of the API call.

      This is the same as the API call ID. A uuid.

      A Version 4 UUID is a universally unique identifier that is generated using random numbers.

    • material_densitynumberoptional

      The material density as denoted by the user.

    • src_formatstringoptional

      The source format of the file. The valid types of 3d source file formats, can include formats that use suplimentary files. For example, the OBJ format can use a MTL file.

      Possible values
      • dae
      • dxf
      • fbx
      • obj_zip
      • obj
      • obj_nomtl
      • ply
      • step
      • stl
    • started_atstringISO-8601optional

      The time and date the API call was started.

    • statusstringoptional

      The status of the API call. The status of an async API call.

      Possible values
      • Queued
      • Uploaded
      • In Progress
      • Completed
      • Failed
    • updated_atstringISO-8601optional

      The time and date the API call was last updated.

    • user_idstringoptional

      The user ID of the user who created the API call.

    POST/file/center-of-mass
    $ curl -X POST "https://api.kittycad.io/file/center-of-mass" \
    	--header "Authorization: Bearer $TOKEN" \
    	--header "Content-Type: application/octet-stream" \
    	--data-binary "@path/to/file"
    201 Created
    Response
    {
      "center_of_mass": [
        28
      ],
      "completed_at": "2023-03-19T18:23:54.754Z",
      "created_at": "2023-03-19T18:23:54.754Z",
      "error": "VumAHtlHCDvMJ0IX",
      "id": "226e07ba-a643-456c-b729-1cab2def2cad",
      "material_density": 20,
      "src_format": "ply",
      "started_at": "2023-03-19T18:23:54.754Z",
      "status": "Queued",
      "updated_at": "2023-03-19T18:23:54.754Z",
      "user_id": "xYAgm1mU9xx3M2FGMeYXJPIJPzX"
    }

    Convert CAD file

    Convert a CAD file from one format to another. If the file being converted is larger than 25MB, it will be performed asynchronously.

    If the conversion is performed synchronously, the contents of the converted file (output) will be returned as a base64 encoded string.

    If the operation is performed asynchronously, the id of the operation will be returned. You can use the id returned from the request to get status information about the async operation from the /async/operations/{id} endpoint.

    Parameters

    • output_formatstringrequired

      The format the file should be converted to.

      Possible values
      • dae
      • dxf
      • fbx
      • fbxb
      • json
      • obj
      • obj_nomtl
      • ply
      • step
      • stl
      • svg
    • src_formatstringrequired

      The format of the file to convert.

      Possible values
      • dae
      • dxf
      • fbx
      • obj_zip
      • obj
      • obj_nomtl
      • ply
      • step
      • stl
      • svg
    • bodyapplication/octet-streamstringBINARYoptional

    Returns

    201 Created

    successful creation

    • completed_atstringISO-8601optional

      The time and date the API call was completed.

    • created_atstringISO-8601optional

      The time and date the API call was created.

    • errorstringoptional

      The error the function returned, if any.

    • idstringUUIDoptional

      The unique identifier of the API call.

      This is the same as the API call ID. A uuid.

      A Version 4 UUID is a universally unique identifier that is generated using random numbers.

    • outputstringBASE64optional

      The converted file, if completed, base64 encoded.

    • output_formatstringoptional

      The output format of the file conversion. The valid types of output file formats.

      Possible values
      • dae
      • dxf
      • fbx
      • fbxb
      • json
      • obj
      • obj_nomtl
      • ply
      • step
      • stl
      • svg
    • src_formatstringoptional

      The source format of the file conversion. The valid types of source file formats.

      Possible values
      • dae
      • dxf
      • fbx
      • obj_zip
      • obj
      • obj_nomtl
      • ply
      • step
      • stl
      • svg
    • started_atstringISO-8601optional

      The time and date the API call was started.

    • statusstringoptional

      The status of the API call. The status of an async API call.

      Possible values
      • Queued
      • Uploaded
      • In Progress
      • Completed
      • Failed
    • updated_atstringISO-8601optional

      The time and date the API call was last updated.

    • user_idstringoptional

      The user ID of the user who created the API call.

    POST/file/conversion/{src_format}/{output_format}
    $ curl -X POST "https://api.kittycad.io/file/conversion/{src_format}/{output_format}" \
    	--header "Authorization: Bearer $TOKEN" \
    	--header "Content-Type: application/octet-stream" \
    	--data-binary "@path/to/file"
    201 Created
    Response
    {
      "completed_at": "2023-03-19T18:23:54.786Z",
      "created_at": "2023-03-19T18:23:54.786Z",
      "error": "DJpI1dkS6EM1QznhPtSlf4",
      "id": "38145327-ea25-412a-894d-b78796122fe2",
      "output": "BASE64_ENCODED_BYTE_STRING",
      "output_format": "dxf",
      "src_format": "stl",
      "started_at": "2023-03-19T18:23:54.786Z",
      "status": "Uploaded",
      "updated_at": "2023-03-19T18:23:54.786Z",
      "user_id": "v27fh0pevdK"
    }

    Get a file conversion

    Get the status and output of an async file conversion.

    This endpoint requires authentication by any KittyCAD user. It returns details of the requested file conversion for the user.

    If the user is not authenticated to view the specified file conversion, then it is not returned.

    Only KittyCAD employees with the proper access can view file conversions for other users.

    Parameters

    • idstringrequired

      The ID of the async operation.

    Returns

    200 OK

    successful operation

      GET/file/conversions/{id}
      $ curl "https://api.kittycad.io/file/conversions/{id}" \
      	--header "Authorization: Bearer $TOKEN"
      200 OK
      Response
      {
        "center_of_mass": [
          15
        ],
        "completed_at": "2023-03-19T18:23:54.793Z",
        "created_at": "2023-03-19T18:23:54.793Z",
        "error": "dqGQE2I97Lb0eeiUqH1",
        "id": "4d90f9f5-00a2-4577-a7bb-a8be16129880",
        "src_format": "obj",
        "started_at": "2023-03-19T18:23:54.793Z",
        "status": "Failed",
        "updated_at": "2023-03-19T18:23:54.793Z",
        "user_id": "H0oD6ybNqT6y"
      }

      Get CAD file density   
      beta

      Get the density of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously.

      If the operation is performed asynchronously, the id of the operation will be returned. You can use the id returned from the request to get status information about the async operation from the /async/operations/{id} endpoint.

      Parameters

      • material_massnumberrequired

        The material mass.

      • src_formatstringrequired

        The format of the file.

        Possible values
        • dae
        • dxf
        • fbx
        • obj_zip
        • obj
        • obj_nomtl
        • ply
        • step
        • stl
      • bodyapplication/octet-streamstringBINARYoptional

      Returns

      201 Created

      successful creation

      • completed_atstringISO-8601optional

        The time and date the API call was completed.

      • created_atstringISO-8601optional

        The time and date the API call was created.

      • densitynumberoptional

        The resulting density.

      • errorstringoptional

        The error the function returned, if any.

      • idstringUUIDoptional

        The unique identifier of the API call.

        This is the same as the API call ID. A uuid.

        A Version 4 UUID is a universally unique identifier that is generated using random numbers.

      • material_massnumberoptional

        The material mass as denoted by the user.

      • src_formatstringoptional

        The source format of the file. The valid types of 3d source file formats, can include formats that use suplimentary files. For example, the OBJ format can use a MTL file.

        Possible values
        • dae
        • dxf
        • fbx
        • obj_zip
        • obj
        • obj_nomtl
        • ply
        • step
        • stl
      • started_atstringISO-8601optional

        The time and date the API call was started.

      • statusstringoptional

        The status of the API call. The status of an async API call.

        Possible values
        • Queued
        • Uploaded
        • In Progress
        • Completed
        • Failed
      • updated_atstringISO-8601optional

        The time and date the API call was last updated.

      • user_idstringoptional

        The user ID of the user who created the API call.

      POST/file/density
      $ curl -X POST "https://api.kittycad.io/file/density" \
      	--header "Authorization: Bearer $TOKEN" \
      	--header "Content-Type: application/octet-stream" \
      	--data-binary "@path/to/file"
      201 Created
      Response
      {
        "completed_at": "2023-03-19T18:23:54.814Z",
        "created_at": "2023-03-19T18:23:54.814Z",
        "density": 25,
        "error": "MWtZNJDhExTfUUm",
        "id": "0aff257a-f903-46a1-a6f5-4647b9552e96",
        "material_mass": 14,
        "src_format": "stl",
        "started_at": "2023-03-19T18:23:54.814Z",
        "status": "In Progress",
        "updated_at": "2023-03-19T18:23:54.814Z",
        "user_id": "pz3"
      }

      Get CAD file mass   
      beta

      Get the mass of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously.

      If the operation is performed asynchronously, the id of the operation will be returned. You can use the id returned from the request to get status information about the async operation from the /async/operations/{id} endpoint.

      Parameters

      • material_densitynumberrequired

        The material density.

      • src_formatstringrequired

        The format of the file.

        Possible values
        • dae
        • dxf
        • fbx
        • obj_zip
        • obj
        • obj_nomtl
        • ply
        • step
        • stl
      • bodyapplication/octet-streamstringBINARYoptional

      Returns

      201 Created

      successful creation

      • completed_atstringISO-8601optional

        The time and date the API call was completed.

      • created_atstringISO-8601optional

        The time and date the API call was created.

      • errorstringoptional

        The error the function returned, if any.

      • idstringUUIDoptional

        The unique identifier of the API call.

        This is the same as the API call ID. A uuid.

        A Version 4 UUID is a universally unique identifier that is generated using random numbers.

      • massnumberoptional

        The resulting mass.

      • material_densitynumberoptional

        The material density as denoted by the user.

      • src_formatstringoptional

        The source format of the file. The valid types of 3d source file formats, can include formats that use suplimentary files. For example, the OBJ format can use a MTL file.

        Possible values
        • dae
        • dxf
        • fbx
        • obj_zip
        • obj
        • obj_nomtl
        • ply
        • step
        • stl
      • started_atstringISO-8601optional

        The time and date the API call was started.

      • statusstringoptional

        The status of the API call. The status of an async API call.

        Possible values
        • Queued
        • Uploaded
        • In Progress
        • Completed
        • Failed
      • updated_atstringISO-8601optional

        The time and date the API call was last updated.

      • user_idstringoptional

        The user ID of the user who created the API call.

      POST/file/mass
      $ curl -X POST "https://api.kittycad.io/file/mass" \
      	--header "Authorization: Bearer $TOKEN" \
      	--header "Content-Type: application/octet-stream" \
      	--data-binary "@path/to/file"
      201 Created
      Response
      {
        "completed_at": "2023-03-19T18:23:54.828Z",
        "created_at": "2023-03-19T18:23:54.828Z",
        "error": "zFHApSkloPrc3J",
        "id": "6cf4b999-756c-436e-9d30-ea53591a03d2",
        "mass": 1,
        "material_density": 13,
        "src_format": "fbx",
        "started_at": "2023-03-19T18:23:54.828Z",
        "status": "Uploaded",
        "updated_at": "2023-03-19T18:23:54.828Z",
        "user_id": "cwAYc3A7CqmEojabUa"
      }

      Get CAD file surface area   
      beta

      Get the surface area of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously.

      If the operation is performed asynchronously, the id of the operation will be returned. You can use the id returned from the request to get status information about the async operation from the /async/operations/{id} endpoint.

      Parameters

      • src_formatstringrequired

        The format of the file.

        Possible values
        • dae
        • dxf
        • fbx
        • obj_zip
        • obj
        • obj_nomtl
        • ply
        • step
        • stl
      • bodyapplication/octet-streamstringBINARYoptional

      Returns

      201 Created

      successful creation

      • completed_atstringISO-8601optional

        The time and date the API call was completed.

      • created_atstringISO-8601optional

        The time and date the API call was created.

      • errorstringoptional

        The error the function returned, if any.

      • idstringUUIDoptional

        The unique identifier of the API call.

        This is the same as the API call ID. A uuid.

        A Version 4 UUID is a universally unique identifier that is generated using random numbers.

      • src_formatstringoptional

        The source format of the file. The valid types of 3d source file formats, can include formats that use suplimentary files. For example, the OBJ format can use a MTL file.

        Possible values
        • dae
        • dxf
        • fbx
        • obj_zip
        • obj
        • obj_nomtl
        • ply
        • step
        • stl
      • started_atstringISO-8601optional

        The time and date the API call was started.

      • statusstringoptional

        The status of the API call. The status of an async API call.

        Possible values
        • Queued
        • Uploaded
        • In Progress
        • Completed
        • Failed
      • surface_areanumberoptional

        The resulting surface area.

      • updated_atstringISO-8601optional

        The time and date the API call was last updated.

      • user_idstringoptional

        The user ID of the user who created the API call.

      POST/file/surface-area
      $ curl -X POST "https://api.kittycad.io/file/surface-area" \
      	--header "Authorization: Bearer $TOKEN" \
      	--header "Content-Type: application/octet-stream" \
      	--data-binary "@path/to/file"
      201 Created
      Response
      {
        "completed_at": "2023-03-19T18:23:54.840Z",
        "created_at": "2023-03-19T18:23:54.840Z",
        "error": "XIgL0JN4UBLNcQdBmkXu",
        "id": "08e7cebd-b0e9-4c20-b8e8-99bed15a2c4b",
        "src_format": "step",
        "started_at": "2023-03-19T18:23:54.840Z",
        "status": "In Progress",
        "surface_area": 2,
        "updated_at": "2023-03-19T18:23:54.840Z",
        "user_id": "DJttrOK"
      }

      Get CAD file volume   
      beta

      Get the volume of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously.

      If the operation is performed asynchronously, the id of the operation will be returned. You can use the id returned from the request to get status information about the async operation from the /async/operations/{id} endpoint.

      Parameters

      • src_formatstringrequired

        The format of the file.

        Possible values
        • dae
        • dxf
        • fbx
        • obj_zip
        • obj
        • obj_nomtl
        • ply
        • step
        • stl
      • bodyapplication/octet-streamstringBINARYoptional

      Returns

      201 Created

      successful creation

      • completed_atstringISO-8601optional

        The time and date the API call was completed.

      • created_atstringISO-8601optional

        The time and date the API call was created.

      • errorstringoptional

        The error the function returned, if any.

      • idstringUUIDoptional

        The unique identifier of the API call.

        This is the same as the API call ID. A uuid.

        A Version 4 UUID is a universally unique identifier that is generated using random numbers.

      • src_formatstringoptional

        The source format of the file. The valid types of 3d source file formats, can include formats that use suplimentary files. For example, the OBJ format can use a MTL file.

        Possible values
        • dae
        • dxf
        • fbx
        • obj_zip
        • obj
        • obj_nomtl
        • ply
        • step
        • stl
      • started_atstringISO-8601optional

        The time and date the API call was started.

      • statusstringoptional

        The status of the API call. The status of an async API call.

        Possible values
        • Queued
        • Uploaded
        • In Progress
        • Completed
        • Failed
      • updated_atstringISO-8601optional

        The time and date the API call was last updated.

      • user_idstringoptional

        The user ID of the user who created the API call.

      • volumenumberoptional

        The resulting volume.

      POST/file/volume
      $ curl -X POST "https://api.kittycad.io/file/volume" \
      	--header "Authorization: Bearer $TOKEN" \
      	--header "Content-Type: application/octet-stream" \
      	--data-binary "@path/to/file"
      201 Created
      Response
      {
        "completed_at": "2023-03-19T18:23:54.857Z",
        "created_at": "2023-03-19T18:23:54.857Z",
        "error": "sYjEfN",
        "id": "46d0b888-ce2c-4165-a5c3-a2e754fce18b",
        "src_format": "dae",
        "started_at": "2023-03-19T18:23:54.857Z",
        "status": "In Progress",
        "updated_at": "2023-03-19T18:23:54.857Z",
        "user_id": "szcOtSkE9VRvgwt",
        "volume": 29
      }

      Get a file conversion for your user

      Get the status and output of an async file conversion. If completed, the contents of the converted file (output) will be returned as a base64 encoded string.

      This endpoint requires authentication by any KittyCAD user. It returns details of the requested file conversion for the user.

      Parameters

      • idstringrequired

        The ID of the async operation.

      Returns

      200 OK

      successful operation

        GET/user/file/conversions/{id}
        $ curl "https://api.kittycad.io/user/file/conversions/{id}" \
        	--header "Authorization: Bearer $TOKEN"
        200 OK
        Response
        {
          "completed_at": "2023-03-19T18:23:54.862Z",
          "created_at": "2023-03-19T18:23:54.862Z",
          "error": "5NV",
          "id": "7a56e87e-bcbb-4e4c-b5e7-d6990641dc06",
          "output": "BASE64_ENCODED_BYTE_STRING",
          "output_format": "step",
          "src_format": "dxf",
          "started_at": "2023-03-19T18:23:54.862Z",
          "status": "Failed",
          "updated_at": "2023-03-19T18:23:54.862Z",
          "user_id": "nNkPGDMR2pHHsyCPnB0fDIn3e7R"
        }

        Meta

        Get OpenAPI schema

        Parameters

        No parameters

        Returns

        200 OK

        successful operation

          GET/
          $ curl "https://api.kittycad.io/" \
          	--header "Authorization: Bearer $TOKEN"
          200 OK
          Response

          Return pong

          Parameters

          No parameters

          Returns

          200 OK

          successful operation

          • messagestringoptional

            The pong response.

          GET/ping
          $ curl "https://api.kittycad.io/ping" \
          	--header "Authorization: Bearer $TOKEN"
          200 OK
          Response
          {
            "message": "Z47yFr9PdpmqUYs"
          }

          Payments

          Delete payment info for your user

          This includes billing address, phone, and name.

          This endpoint requires authentication by any KittyCAD user. It deletes the payment information for the authenticated user.

          Parameters

          No parameters

          Returns

          204 No Content

          successful deletion

          DELETE/user/payment
          $ curl -X DELETE "https://api.kittycad.io/user/payment" \
          	--header "Authorization: Bearer $TOKEN"

          Get payment info about your user

          This includes billing address, phone, and name.

          This endpoint requires authentication by any KittyCAD user. It gets the payment information for the authenticated user.

          Parameters

          No parameters

          Returns

          200 OK

          successful operation

          • addressobjectoptional

            The customer's address. The struct that is used to create a new record. This is automatically generated and has all the same fields as the main struct only it is missing the id.

            Object
            • citystringoptional

              The city component.

            • countrystringoptional

              The country component.

            • statestringoptional

              The state component.

            • street1stringoptional

              The first street component.

            • street2stringoptional

              The second street component.

            • user_idstringoptional

              The user ID that this address belongs to.

            • zipstringoptional

              The zip component.

          • balancenumberUSD Priceoptional

            Current balance, if any, being stored on the customer in the payments service.

            If negative, the customer has credit to apply to their next invoice. If positive, the customer has an amount owed that will be added to their next invoice. The balance does not refer to any unpaid invoices; it solely takes into account amounts that have yet to be successfully applied to any invoice. This balance is only taken into account as invoices are finalized.

          • created_atstringISO-8601optional

            Time at which the object was created.

          • currencystringoptional

            Three-letter ISO code for the currency the customer can be charged in for recurring billing purposes. Currency is the list of supported currencies.

            For more details see https://support.stripe.com/questions/which-currencies-does-stripe-support.

            Possible values
            • aed
            • afn
            • all
            • amd
            • ang
            • aoa
            • ars
            • aud
            • awg
            • azn
            • bam
            • bbd
            • bdt
            • bgn
            • bif
            • bmd
            • bnd
            • bob
            • brl
            • bsd
            • bwp
            • bzd
            • cad
            • cdf
            • chf
            • clp
            • cny
            • cop
            • crc
            • cve
            • czk
            • djf
            • dkk
            • dop
            • dzd
            • eek
            • egp
            • etb
            • eur
            • fjd
            • fkp
            • gbp
            • gel
            • gip
            • gmd
            • gnf
            • gtq
            • gyd
            • hkd
            • hnl
            • hrk
            • htg
            • huf
            • idr
            • ils
            • inr
            • isk
            • jmd
            • jpy
            • kes
            • kgs
            • khr
            • kmf
            • krw
            • kyd
            • kzt
            • lak
            • lbp
            • lkr
            • lrd
            • lsl
            • ltl
            • lvl
            • mad
            • mdl
            • mga
            • mkd
            • mnt
            • mop
            • mro
            • mur
            • mvr
            • mwk
            • mxn
            • myr
            • mzn
            • nad
            • ngn
            • nio
            • nok
            • npr
            • nzd
            • pab
            • pen
            • pgk
            • php
            • pkr
            • pln
            • pyg
            • qar
            • ron
            • rsd
            • rub
            • rwf
            • sar
            • sbd
            • scr
            • sek
            • sgd
            • shp
            • sll
            • sos
            • srd
            • std
            • svc
            • szl
            • thb
            • tjs
            • top
            • try
            • ttd
            • twd
            • tzs
            • uah
            • ugx
            • usd
            • uyu
            • uzs
            • vef
            • vnd
            • vuv
            • wst
            • xaf
            • xcd
            • xof
            • xpf
            • yer
            • zar
            • zmw
          • delinquentbooleanoptional

            When the customer's latest invoice is billed by charging automatically, delinquent is true if the invoice's latest charge failed.

            When the customer's latest invoice is billed by sending an invoice, delinquent is true if the invoice isn't paid by its due date. If an invoice is marked uncollectible by dunning, delinquent doesn't get reset to false.

          • emailstringEmail Addressoptional

            The customer's email address.

          • idstringoptional

            Unique identifier for the object.

          • metadataobjectoptional

            Set of key-value pairs.

          • namestringoptional

            The customer's full name or business name.

          • phonestringPhone Numberoptional

            The customer's phone number.

          GET/user/payment
          $ curl "https://api.kittycad.io/user/payment" \
          	--header "Authorization: Bearer $TOKEN"
          200 OK
          Response
          {
            "address": {
              "city": "BZ8Iaitq2tm5JlKZ4QUC1aNzYHLY",
              "country": "H2X5B8QVkSw2Ykxcxr3KNMkiy5WWo",
              "state": "H464EnIz30",
              "street1": "7XE2Edbb6s8hSctOA8tXrr1oX",
              "street2": "fY6PYls601xQc2S4v6lHWX4S",
              "user_id": "pccOHe23qCIW8zSoJWMI",
              "zip": "2duNSGM"
            },
            "balance": "16.24",
            "created_at": "2023-03-19T18:23:54.891Z",
            "currency": "gmd",
            "delinquent": true,
            "email": "pEg@V.com",
            "id": "qPS16i3OzxaEIz",
            "metadata": {},
            "name": "Fu0Bu",
            "phone": "+1-293-438-7076"
          }

          Create payment info for your user

          This includes billing address, phone, and name.

          This endpoint requires authentication by any KittyCAD user. It creates the payment information for the authenticated user.

          Parameters

          • bodyapplication/jsonobjectoptional

            The billing information for payments.

            Object
            • addressobjectoptional

              The address of the customer. The struct that is used to create a new record. This is automatically generated and has all the same fields as the main struct only it is missing the id.

              Object
              • citystringoptional

                The city component.

              • countrystringoptional

                The country component.

              • statestringoptional

                The state component.

              • street1stringoptional

                The first street component.

              • street2stringoptional

                The second street component.

              • user_idstringoptional

                The user ID that this address belongs to.

              • zipstringoptional

                The zip component.

            • namestringoptional

              The name of the customer.

            • phonestringPhone Numberoptional

              The phone for the customer.

          Returns

          201 Created

          successful creation

          • addressobjectoptional

            The customer's address. The struct that is used to create a new record. This is automatically generated and has all the same fields as the main struct only it is missing the id.

            Object
            • citystringoptional

              The city component.

            • countrystringoptional

              The country component.

            • statestringoptional

              The state component.

            • street1stringoptional

              The first street component.

            • street2stringoptional

              The second street component.

            • user_idstringoptional

              The user ID that this address belongs to.

            • zipstringoptional

              The zip component.

          • balancenumberUSD Priceoptional

            Current balance, if any, being stored on the customer in the payments service.

            If negative, the customer has credit to apply to their next invoice. If positive, the customer has an amount owed that will be added to their next invoice. The balance does not refer to any unpaid invoices; it solely takes into account amounts that have yet to be successfully applied to any invoice. This balance is only taken into account as invoices are finalized.

          • created_atstringISO-8601optional

            Time at which the object was created.

          • currencystringoptional

            Three-letter ISO code for the currency the customer can be charged in for recurring billing purposes. Currency is the list of supported currencies.

            For more details see https://support.stripe.com/questions/which-currencies-does-stripe-support.

            Possible values
            • aed
            • afn
            • all
            • amd
            • ang
            • aoa
            • ars
            • aud
            • awg
            • azn
            • bam
            • bbd
            • bdt
            • bgn
            • bif
            • bmd
            • bnd
            • bob
            • brl
            • bsd
            • bwp
            • bzd
            • cad
            • cdf
            • chf
            • clp
            • cny
            • cop
            • crc
            • cve
            • czk
            • djf
            • dkk
            • dop
            • dzd
            • eek
            • egp
            • etb
            • eur
            • fjd
            • fkp
            • gbp
            • gel
            • gip
            • gmd
            • gnf
            • gtq
            • gyd
            • hkd
            • hnl
            • hrk
            • htg
            • huf
            • idr
            • ils
            • inr
            • isk
            • jmd
            • jpy
            • kes
            • kgs
            • khr
            • kmf
            • krw
            • kyd
            • kzt
            • lak
            • lbp
            • lkr
            • lrd
            • lsl
            • ltl
            • lvl
            • mad
            • mdl
            • mga
            • mkd
            • mnt
            • mop
            • mro
            • mur
            • mvr
            • mwk
            • mxn
            • myr
            • mzn
            • nad
            • ngn
            • nio
            • nok
            • npr
            • nzd
            • pab
            • pen
            • pgk
            • php
            • pkr
            • pln
            • pyg
            • qar
            • ron
            • rsd
            • rub
            • rwf
            • sar
            • sbd
            • scr
            • sek
            • sgd
            • shp
            • sll
            • sos
            • srd
            • std
            • svc
            • szl
            • thb
            • tjs
            • top
            • try
            • ttd
            • twd
            • tzs
            • uah
            • ugx
            • usd
            • uyu
            • uzs
            • vef
            • vnd
            • vuv
            • wst
            • xaf
            • xcd
            • xof
            • xpf
            • yer
            • zar
            • zmw
          • delinquentbooleanoptional

            When the customer's latest invoice is billed by charging automatically, delinquent is true if the invoice's latest charge failed.

            When the customer's latest invoice is billed by sending an invoice, delinquent is true if the invoice isn't paid by its due date. If an invoice is marked uncollectible by dunning, delinquent doesn't get reset to false.

          • emailstringEmail Addressoptional

            The customer's email address.

          • idstringoptional

            Unique identifier for the object.

          • metadataobjectoptional

            Set of key-value pairs.

          • namestringoptional

            The customer's full name or business name.

          • phonestringPhone Numberoptional

            The customer's phone number.

          POST/user/payment
          $ curl -X POST "https://api.kittycad.io/user/payment" \
          	--header "Authorization: Bearer $TOKEN" \
          	--header "Content-Type: application/json" \
          	--data '{
            "address": {
              "city": "kJ2vyy348aIUIVi1sJHej63IZf",
              "country": "AV",
              "state": "nFgKg8bzSENn2fo",
              "street1": "Mw3E0nSLA",
              "street2": "3Zs2hEmnG0YqLaGxjPSvvaI",
              "user_id": "nplFbLdLhMztvB0RlqIYFp4",
              "zip": "h1BUbJItwYNDbHoZkfTjSoqUv0"
            },
            "name": "98tKK4QgmoEt1Fx80rVQym",
            "phone": "+1-527-613-9670"
          }'
          201 Created
          Response
          {
            "address": {
              "city": "boIZNV9AmRgU8oME",
              "country": "nso6xEXWZ79LKhSro",
              "state": "HBSoEfL5tNOUX2ChyjQa6B3Av08",
              "street1": "isB6axLi",
              "street2": "iOeKcrp",
              "user_id": "iIcp2SCCpVnUASTcP",
              "zip": "yjNyauB37OmFfihoPtSDolA"
            },
            "balance": "53.18",
            "created_at": "2023-03-19T18:23:54.915Z",
            "currency": "dkk",
            "delinquent": true,
            "email": "p@YqxDX.com",
            "id": "bq4WmQS",
            "metadata": {},
            "name": "eXTPM7qrsoYfsnObtsGexcThG",
            "phone": "+1-695-370-2274"
          }

          Update payment info for your user

          This includes billing address, phone, and name.

          This endpoint requires authentication by any KittyCAD user. It updates the payment information for the authenticated user.

          Parameters

          • bodyapplication/jsonobjectoptional

            The billing information for payments.

            Object
            • addressobjectoptional

              The address of the customer. The struct that is used to create a new record. This is automatically generated and has all the same fields as the main struct only it is missing the id.

              Object
              • citystringoptional

                The city component.

              • countrystringoptional

                The country component.

              • statestringoptional

                The state component.

              • street1stringoptional

                The first street component.

              • street2stringoptional

                The second street component.

              • user_idstringoptional

                The user ID that this address belongs to.

              • zipstringoptional

                The zip component.

            • namestringoptional

              The name of the customer.

            • phonestringPhone Numberoptional

              The phone for the customer.

          Returns

          200 OK

          successful operation

          • addressobjectoptional

            The customer's address. The struct that is used to create a new record. This is automatically generated and has all the same fields as the main struct only it is missing the id.

            Object
            • citystringoptional

              The city component.

            • countrystringoptional

              The country component.

            • statestringoptional

              The state component.

            • street1stringoptional

              The first street component.

            • street2stringoptional

              The second street component.

            • user_idstringoptional

              The user ID that this address belongs to.

            • zipstringoptional

              The zip component.

          • balancenumberUSD Priceoptional

            Current balance, if any, being stored on the customer in the payments service.

            If negative, the customer has credit to apply to their next invoice. If positive, the customer has an amount owed that will be added to their next invoice. The balance does not refer to any unpaid invoices; it solely takes into account amounts that have yet to be successfully applied to any invoice. This balance is only taken into account as invoices are finalized.

          • created_atstringISO-8601optional

            Time at which the object was created.

          • currencystringoptional

            Three-letter ISO code for the currency the customer can be charged in for recurring billing purposes. Currency is the list of supported currencies.

            For more details see https://support.stripe.com/questions/which-currencies-does-stripe-support.

            Possible values
            • aed
            • afn
            • all
            • amd
            • ang
            • aoa
            • ars
            • aud
            • awg
            • azn
            • bam
            • bbd
            • bdt
            • bgn
            • bif
            • bmd
            • bnd
            • bob
            • brl
            • bsd
            • bwp
            • bzd
            • cad
            • cdf
            • chf
            • clp
            • cny
            • cop
            • crc
            • cve
            • czk
            • djf
            • dkk
            • dop
            • dzd
            • eek
            • egp
            • etb
            • eur
            • fjd
            • fkp
            • gbp
            • gel
            • gip
            • gmd
            • gnf
            • gtq
            • gyd
            • hkd
            • hnl
            • hrk
            • htg
            • huf
            • idr
            • ils
            • inr
            • isk
            • jmd
            • jpy
            • kes
            • kgs
            • khr
            • kmf
            • krw
            • kyd
            • kzt
            • lak
            • lbp
            • lkr
            • lrd
            • lsl
            • ltl
            • lvl
            • mad
            • mdl
            • mga
            • mkd
            • mnt
            • mop
            • mro
            • mur
            • mvr
            • mwk
            • mxn
            • myr
            • mzn
            • nad
            • ngn
            • nio
            • nok
            • npr
            • nzd
            • pab
            • pen
            • pgk
            • php
            • pkr
            • pln
            • pyg
            • qar
            • ron
            • rsd
            • rub
            • rwf
            • sar
            • sbd
            • scr
            • sek
            • sgd
            • shp
            • sll
            • sos
            • srd
            • std
            • svc
            • szl
            • thb
            • tjs
            • top
            • try
            • ttd
            • twd
            • tzs
            • uah
            • ugx
            • usd
            • uyu
            • uzs
            • vef
            • vnd
            • vuv
            • wst
            • xaf
            • xcd
            • xof
            • xpf
            • yer
            • zar
            • zmw
          • delinquentbooleanoptional

            When the customer's latest invoice is billed by charging automatically, delinquent is true if the invoice's latest charge failed.

            When the customer's latest invoice is billed by sending an invoice, delinquent is true if the invoice isn't paid by its due date. If an invoice is marked uncollectible by dunning, delinquent doesn't get reset to false.

          • emailstringEmail Addressoptional

            The customer's email address.

          • idstringoptional

            Unique identifier for the object.

          • metadataobjectoptional

            Set of key-value pairs.

          • namestringoptional

            The customer's full name or business name.

          • phonestringPhone Numberoptional

            The customer's phone number.

          PUT/user/payment
          $ curl -X PUT "https://api.kittycad.io/user/payment" \
          	--header "Authorization: Bearer $TOKEN" \
          	--header "Content-Type: application/json" \
          	--data '{
            "address": {
              "city": "WVQwT5zHXcfPvhhlxHul0",
              "country": "OiQpmUkbro9OMsKvnm",
              "state": "qPoTCYtSox",
              "street1": "mhZSopTOkPFCWEYd14a4eVjZEMw0b",
              "street2": "9L2PDf3v",
              "user_id": "Ev1AyzJIDGBRwdTt",
              "zip": "YLgtOvLPSz0"
            },
            "name": "WvpfYhB2Wa",
            "phone": "+1-404-223-9774"
          }'
          200 OK
          Response
          {
            "address": {
              "city": "k6PsKXXhmm2h56NzUqj",
              "country": "VlnMkocSgB3Kn5",
              "state": "N6PBQkJdEzOsAGwMwk",
              "street1": "L4lg5xS8LrAtw2aH2pG1l1d",
              "street2": "rXQJV0xzeaSUEIje5",
              "user_id": "u6lwn0EGb7KFThZBQ7",
              "zip": "13gBoj8nlTrt3yLOEDjuUP1LRw"
            },
            "balance": "57.30",
            "created_at": "2023-03-19T18:23:54.946Z",
            "currency": "aed",
            "delinquent": false,
            "email": "aCam@BYaqagC1.com",
            "id": "CEnZcVct7w5veKaho6VFztbRX51U9",
            "metadata": {},
            "name": "ZK4",
            "phone": "+1-894-624-7683"
          }

          Get balance for your user

          This endpoint requires authentication by any KittyCAD user. It gets the balance information for the authenticated user.

          Parameters

          No parameters

          Returns

          200 OK

          successful operation

          • created_atstringISO-8601optional

            The date and time the balance was created.

          • idstringUUIDoptional

            The unique identifier for the balance. A uuid.

            A Version 4 UUID is a universally unique identifier that is generated using random numbers.

          • monthly_credits_remainingnumberUSD Priceoptional

            The monthy credits remaining in the balance. This gets re-upped every month, but if the credits are not used for a month they do not carry over to the next month. It is a stable amount granted to the user per month.

          • pre_pay_cash_remainingnumberUSD Priceoptional

            The amount of pre-pay cash remaining in the balance. This number goes down as the user uses their pre-paid credits. The reason we track this amount is if a user ever wants to withdraw their pre-pay cash, we can use this amount to determine how much to give them. Say a user has $100 in pre-paid cash, their bill is worth, $50 after subtracting any other credits (like monthly etc.) Their bill is $50, their pre-pay cash remaining will be subtracted by 50 to pay the bill and their pre_pay_credits_remaining will be subtracted by 50 to pay the bill. This way if they want to withdraw money after, they can only withdraw $50 since that is the amount of cash they have remaining.

          • pre_pay_credits_remainingnumberUSD Priceoptional

            The amount of credits remaining in the balance. This is typically the amount of cash * some multiplier they get for pre-paying their account. This number lowers every time a bill is paid with the balance. This number increases every time a user adds funds to their balance. This may be through a subscription or a one off payment.

          • total_duenumberUSD Priceoptional

            This includes any outstanding, draft, or open invoices and any pending invoice items. This does not include any credits the user has on their account.

          • updated_atstringISO-8601optional

            The date and time the balance was last updated.

          • user_idstringoptional

            The user ID the balance belongs to.

          GET/user/payment/balance
          $ curl "https://api.kittycad.io/user/payment/balance" \
          	--header "Authorization: Bearer $TOKEN"
          200 OK
          Response
          {
            "created_at": "2023-03-19T18:23:54.965Z",
            "id": "de43fcef-1450-464d-9c9b-bb3e06f04370",
            "monthly_credits_remaining": "94.71",
            "pre_pay_cash_remaining": "91.17",
            "pre_pay_credits_remaining": "23.40",
            "total_due": "44.63",
            "updated_at": "2023-03-19T18:23:54.965Z",
            "user_id": "2Tatouy98KN4fv"
          }

          List invoices for your user

          This endpoint requires authentication by any KittyCAD user. It lists invoices for the authenticated user.

          Parameters

          No parameters

          Returns

          200 OK

          successful operation

            GET/user/payment/invoices
            $ curl "https://api.kittycad.io/user/payment/invoices" \
            	--header "Authorization: Bearer $TOKEN"
            200 OK
            Response
            [
              {
                "amount_due": "4.71",
                "amount_paid": "42.05",
                "amount_remaining": "74.69",
                "attempt_count": 2,
                "attempted": false,
                "created_at": "2023-03-19T18:23:54.967Z",
                "currency": "ils",
                "customer_email": "WX7e@.com",
                "customer_id": "P",
                "default_payment_method": "2jVLSRsTjyuhE",
                "description": "UeGL2nIwCVPLEtV0Z",
                "id": "xEeEQW0adzcHqbb7WDBEh",
                "lines": [
                  {
                    "amount": "87.18",
                    "currency": "scr",
                    "description": "Vi",
                    "id": "GoY",
                    "invoice_item": "aV7ewuYNXc8dd9jjGNDiAGm2JUpR3",
                    "metadata": {}
                  }
                ],
                "metadata": {},
                "number": "Ussrp1cbTg28aFBimR",
                "paid": false,
                "pdf": "https://O8k.Bv.com/bOC99zGvUX0/",
                "receipt_number": "yRlku",
                "statement_descriptor": "QVT4DLhzBaxt28FmziUrlq8qgwEB",
                "status": "void",
                "subtotal": "46.85",
                "tax": "81.35",
                "total": "0.86",
                "url": "https://9YNesFw1q.UEObu.com/W/kFoUT7cEUEV"
              }
            ]

            List payment methods for your user

            This endpoint requires authentication by any KittyCAD user. It lists payment methods for the authenticated user.

            Parameters

            No parameters

            Returns

            200 OK

            successful operation

              GET/user/payment/methods
              $ curl "https://api.kittycad.io/user/payment/methods" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              [
                {
                  "billing_info": {
                    "address": {
                      "city": "hOZ5av0n1",
                      "country": "eXYhkpPYaK03",
                      "state": "f8fKHdkserlaBUw",
                      "street1": "T0QFJpndV2KOlvV8JkRsga3",
                      "street2": "kz5tT4",
                      "user_id": "LnCKBZj74cHE57bgRQR90oquU1G",
                      "zip": "pSkIiforbgeQ55"
                    },
                    "name": "A0rUXT9iRgc6XL",
                    "phone": "+1-479-516-4890"
                  },
                  "card": {
                    "brand": "DaX25t04LJD",
                    "checks": {
                      "address_line1_check": "brzPCMBoMaG0V2iaWH",
                      "address_postal_code_check": "wCK7aAgsbmv7",
                      "cvc_check": "qpZcW"
                    },
                    "country": "0eGtKWBo",
                    "exp_month": 11,
                    "exp_year": 7,
                    "fingerprint": "bWbJhR3iKO",
                    "funding": "mdc",
                    "last4": "XjQOBQ9DZ"
                  },
                  "created_at": "2023-03-19T18:23:54.973Z",
                  "id": "aHppJRv3P3YNZX",
                  "metadata": {},
                  "type": "card"
                }
              ]

              Sessions

              Get a session for your user

              This endpoint requires authentication by any KittyCAD user. It returns details of the requested API token for the user.

              Parameters

              • tokenstringUUIDrequired

                The API token.

              Returns

              200 OK

              successful operation

              • created_atstringISO-8601optional

                The date and time the session was created.

              • expiresstringISO-8601optional

                The date and time the session expires.

              • idstringoptional

                The unique identifier for the session.

              • session_tokenstringUUIDoptional

                The session token. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • updated_atstringISO-8601optional

                The date and time the session was last updated.

              • user_idstringoptional

                The user ID of the user that the session belongs to.

              GET/user/session/{token}
              $ curl "https://api.kittycad.io/user/session/{token}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "created_at": "2023-03-19T18:23:54.989Z",
                "expires": "2023-03-19T18:23:54.989Z",
                "id": "7GFBcuWXX6ZUEfokI0L4yBRZ",
                "session_token": "667ce82e-32a0-4e9f-a6f6-319475f2cddc",
                "updated_at": "2023-03-19T18:23:54.989Z",
                "user_id": "QTM1mq2FPcZr0qxx"
              }

              Unit

              Unit conversion operations.

              Endpoints

              GET/unit/conversion/acceleration/{src_format}/{output_format}

              GET/unit/conversion/angle/{src_format}/{output_format}

              GET/unit/conversion/angular-velocity/{src_format}/{output_format}

              GET/unit/conversion/area/{src_format}/{output_format}

              GET/unit/conversion/charge/{src_format}/{output_format}

              GET/unit/conversion/concentration/{src_format}/{output_format}

              GET/unit/conversion/data-transfer-rate/{src_format}/{output_format}

              GET/unit/conversion/data/{src_format}/{output_format}

              GET/unit/conversion/density/{src_format}/{output_format}

              GET/unit/conversion/energy/{src_format}/{output_format}

              GET/unit/conversion/force/{src_format}/{output_format}

              GET/unit/conversion/illuminance/{src_format}/{output_format}

              GET/unit/conversion/length/{src_format}/{output_format}

              GET/unit/conversion/magnetic-field-strength/{src_format}/{output_format}

              GET/unit/conversion/magnetic-flux/{src_format}/{output_format}

              GET/unit/conversion/mass/{src_format}/{output_format}

              GET/unit/conversion/metric/cubed/{src_format}/{output_format}

              GET/unit/conversion/metric/power/{src_format}/{output_format}

              GET/unit/conversion/metric/squared/{src_format}/{output_format}

              GET/unit/conversion/power/{src_format}/{output_format}

              GET/unit/conversion/pressure/{src_format}/{output_format}

              GET/unit/conversion/radiation/{src_format}/{output_format}

              GET/unit/conversion/radioactivity/{src_format}/{output_format}

              GET/unit/conversion/solid-angle/{src_format}/{output_format}

              GET/unit/conversion/temperature/{src_format}/{output_format}

              GET/unit/conversion/time/{src_format}/{output_format}

              GET/unit/conversion/velocity/{src_format}/{output_format}

              GET/unit/conversion/voltage/{src_format}/{output_format}

              GET/unit/conversion/volume/{src_format}/{output_format}

              Convert acceleration units   
              beta

              Convert an acceleration unit value to another acceleration unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • meters_per_second_squared
                • feet_per_second_squared
                • standard_gravity
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • meters_per_second_squared
                • feet_per_second_squared
                • standard_gravity
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of acceleration unit formats.

                Possible values
                • meters_per_second_squared
                • feet_per_second_squared
                • standard_gravity
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of acceleration unit formats.

                Possible values
                • meters_per_second_squared
                • feet_per_second_squared
                • standard_gravity
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/acceleration/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/acceleration/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.016Z",
                "created_at": "2023-03-19T18:23:55.016Z",
                "error": "hFain7n0NrbmEWqnY4U95",
                "id": "8397a9da-9ad2-46b7-bf84-2f59f650d2aa",
                "input": 27,
                "output": 15,
                "output_format": "meters_per_second_squared",
                "src_format": "meters_per_second_squared",
                "started_at": "2023-03-19T18:23:55.016Z",
                "status": "Failed",
                "updated_at": "2023-03-19T18:23:55.016Z",
                "user_id": "AUIEVjoh6TM"
              }

              Convert angle units   
              beta

              Convert an angle unit value to another angle unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • radian
                • degree
                • arcminute
                • arcsecond
                • milliarcsecond
                • turn
                • gradian
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • radian
                • degree
                • arcminute
                • arcsecond
                • milliarcsecond
                • turn
                • gradian
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of angle formats.

                Possible values
                • radian
                • degree
                • arcminute
                • arcsecond
                • milliarcsecond
                • turn
                • gradian
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of angle formats.

                Possible values
                • radian
                • degree
                • arcminute
                • arcsecond
                • milliarcsecond
                • turn
                • gradian
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/angle/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/angle/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.031Z",
                "created_at": "2023-03-19T18:23:55.031Z",
                "error": "IBjgj795gqM9WcjeEDhQr1exn93TqP",
                "id": "79c73738-e540-46cf-9be3-0a5518a80923",
                "input": 16,
                "output": 13,
                "output_format": "arcminute",
                "src_format": "milliarcsecond",
                "started_at": "2023-03-19T18:23:55.031Z",
                "status": "Queued",
                "updated_at": "2023-03-19T18:23:55.031Z",
                "user_id": "TQ"
              }

              Convert angular velocity units   
              beta

              Convert an angular velocity unit value to another angular velocity unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • radians_per_second
                • degrees_per_second
                • revolutions_per_minute
                • milliarcseconds_per_year
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • radians_per_second
                • degrees_per_second
                • revolutions_per_minute
                • milliarcseconds_per_year
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of angular velocity unit formats.

                Possible values
                • radians_per_second
                • degrees_per_second
                • revolutions_per_minute
                • milliarcseconds_per_year
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of angular velocity unit formats.

                Possible values
                • radians_per_second
                • degrees_per_second
                • revolutions_per_minute
                • milliarcseconds_per_year
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/angular-velocity/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/angular-velocity/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.052Z",
                "created_at": "2023-03-19T18:23:55.052Z",
                "error": "Mq",
                "id": "ca44f1c6-3dbc-4e08-90ae-4bffc8b3b18a",
                "input": 12,
                "output": 27,
                "output_format": "radians_per_second",
                "src_format": "degrees_per_second",
                "started_at": "2023-03-19T18:23:55.052Z",
                "status": "In Progress",
                "updated_at": "2023-03-19T18:23:55.052Z",
                "user_id": "Zp"
              }

              Convert area units   
              beta

              Convert an area unit value to another area unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • square_meter
                • square_foot
                • square_inch
                • square_mile
                • square_kilometer
                • hectare
                • acre
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • square_meter
                • square_foot
                • square_inch
                • square_mile
                • square_kilometer
                • hectare
                • acre
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of area unit formats.

                Possible values
                • square_meter
                • square_foot
                • square_inch
                • square_mile
                • square_kilometer
                • hectare
                • acre
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of area unit formats.

                Possible values
                • square_meter
                • square_foot
                • square_inch
                • square_mile
                • square_kilometer
                • hectare
                • acre
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/area/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/area/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.065Z",
                "created_at": "2023-03-19T18:23:55.065Z",
                "error": "Ltz2TUJEYR",
                "id": "843732d5-c02f-4d28-8f1c-3eaf67874fdc",
                "input": 25,
                "output": 11,
                "output_format": "square_mile",
                "src_format": "square_kilometer",
                "started_at": "2023-03-19T18:23:55.065Z",
                "status": "Failed",
                "updated_at": "2023-03-19T18:23:55.065Z",
                "user_id": "2QKqE7ws8XcGl0"
              }

              Convert charge units   
              beta

              Convert a charge unit value to another charge unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • coulomb
                • ampere_hour
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • coulomb
                • ampere_hour
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of charge unit formats.

                Possible values
                • coulomb
                • ampere_hour
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of charge unit formats.

                Possible values
                • coulomb
                • ampere_hour
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/charge/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/charge/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.079Z",
                "created_at": "2023-03-19T18:23:55.079Z",
                "error": "cS4ff8PbIIPHrxvkhR",
                "id": "5742fbf2-df0f-49c9-9830-215410ae6138",
                "input": 18,
                "output": 18,
                "output_format": "coulomb",
                "src_format": "coulomb",
                "started_at": "2023-03-19T18:23:55.079Z",
                "status": "Completed",
                "updated_at": "2023-03-19T18:23:55.079Z",
                "user_id": "vZqNxP"
              }

              Convert concentration units   
              beta

              Convert a concentration unit value to another concentration unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • parts_per_million
                • parts_per_billion
                • parts_per_trillion
                • percent
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • parts_per_million
                • parts_per_billion
                • parts_per_trillion
                • percent
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of concentration unit formats.

                Possible values
                • parts_per_million
                • parts_per_billion
                • parts_per_trillion
                • percent
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of concentration unit formats.

                Possible values
                • parts_per_million
                • parts_per_billion
                • parts_per_trillion
                • percent
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/concentration/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/concentration/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.099Z",
                "created_at": "2023-03-19T18:23:55.099Z",
                "error": "O8P1TGcNCS1t",
                "id": "32e98596-ad51-48f0-9c1f-bd0dd47b3df1",
                "input": 25,
                "output": 7,
                "output_format": "parts_per_trillion",
                "src_format": "parts_per_trillion",
                "started_at": "2023-03-19T18:23:55.099Z",
                "status": "Completed",
                "updated_at": "2023-03-19T18:23:55.099Z",
                "user_id": "6XkyPxAVMZnPlMTNP81Dgl"
              }

              Convert data transfer rate units   
              beta

              Convert a data transfer rate unit value to another data transfer rate unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • bytes_per_second
                • exabytes_per_second
                • bits_per_second
                • exabits_per_second
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • bytes_per_second
                • exabytes_per_second
                • bits_per_second
                • exabits_per_second
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of data transfer unit formats.

                Possible values
                • bytes_per_second
                • exabytes_per_second
                • bits_per_second
                • exabits_per_second
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of data transfer unit formats.

                Possible values
                • bytes_per_second
                • exabytes_per_second
                • bits_per_second
                • exabits_per_second
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/data-transfer-rate/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/data-transfer-rate/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.112Z",
                "created_at": "2023-03-19T18:23:55.112Z",
                "error": "oXORtMBscznroBk3k",
                "id": "85465225-cb3f-4f48-9af0-bf10e1bb5d1f",
                "input": 2,
                "output": 10,
                "output_format": "bytes_per_second",
                "src_format": "bytes_per_second",
                "started_at": "2023-03-19T18:23:55.112Z",
                "status": "Failed",
                "updated_at": "2023-03-19T18:23:55.112Z",
                "user_id": "jnpXvmXN"
              }

              Convert data units   
              beta

              Convert a data unit value to another data unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • byte
                • exabyte
                • bit
                • exabit
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • byte
                • exabyte
                • bit
                • exabit
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of data unit formats.

                Possible values
                • byte
                • exabyte
                • bit
                • exabit
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of data unit formats.

                Possible values
                • byte
                • exabyte
                • bit
                • exabit
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/data/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/data/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.131Z",
                "created_at": "2023-03-19T18:23:55.131Z",
                "error": "fKAy31",
                "id": "a234e249-b215-4f7e-bd3f-decbe21f43c3",
                "input": 13,
                "output": 18,
                "output_format": "byte",
                "src_format": "exabyte",
                "started_at": "2023-03-19T18:23:55.131Z",
                "status": "In Progress",
                "updated_at": "2023-03-19T18:23:55.131Z",
                "user_id": "MUrBcOGD51Dg"
              }

              Convert density units   
              beta

              Convert a density unit value to another density unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • kilograms_per_cubic_meter
                • grams_per_milliliter
                • kilograms_per_liter
                • ounces_per_cubic_foot
                • ounces_per_cubic_inch
                • ounces_per_gallon
                • pounds_per_cubic_foot
                • pounds_per_cubic_inch
                • pounds_per_gallon
                • slugs_per_cubic_foot
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • kilograms_per_cubic_meter
                • grams_per_milliliter
                • kilograms_per_liter
                • ounces_per_cubic_foot
                • ounces_per_cubic_inch
                • ounces_per_gallon
                • pounds_per_cubic_foot
                • pounds_per_cubic_inch
                • pounds_per_gallon
                • slugs_per_cubic_foot
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of density unit formats.

                Possible values
                • kilograms_per_cubic_meter
                • grams_per_milliliter
                • kilograms_per_liter
                • ounces_per_cubic_foot
                • ounces_per_cubic_inch
                • ounces_per_gallon
                • pounds_per_cubic_foot
                • pounds_per_cubic_inch
                • pounds_per_gallon
                • slugs_per_cubic_foot
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of density unit formats.

                Possible values
                • kilograms_per_cubic_meter
                • grams_per_milliliter
                • kilograms_per_liter
                • ounces_per_cubic_foot
                • ounces_per_cubic_inch
                • ounces_per_gallon
                • pounds_per_cubic_foot
                • pounds_per_cubic_inch
                • pounds_per_gallon
                • slugs_per_cubic_foot
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/density/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/density/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.144Z",
                "created_at": "2023-03-19T18:23:55.144Z",
                "error": "33i",
                "id": "7d0bfebc-2a11-4b84-bc2e-d5ef8ab60590",
                "input": 21,
                "output": 24,
                "output_format": "pounds_per_cubic_inch",
                "src_format": "pounds_per_cubic_foot",
                "started_at": "2023-03-19T18:23:55.144Z",
                "status": "Failed",
                "updated_at": "2023-03-19T18:23:55.144Z",
                "user_id": "AOdGLnsAHyoGNlfJ"
              }

              Convert energy units   
              beta

              Convert a energy unit value to another energy unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • joule
                • calorie
                • kilowatt_hour
                • watt_hour
                • british_thermal_unit
                • british_thermal_unit_iso
                • british_thermal_unit59
                • therm
                • foot_pound
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • joule
                • calorie
                • kilowatt_hour
                • watt_hour
                • british_thermal_unit
                • british_thermal_unit_iso
                • british_thermal_unit59
                • therm
                • foot_pound
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of energy unit formats.

                Possible values
                • joule
                • calorie
                • kilowatt_hour
                • watt_hour
                • british_thermal_unit
                • british_thermal_unit_iso
                • british_thermal_unit59
                • therm
                • foot_pound
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of energy unit formats.

                Possible values
                • joule
                • calorie
                • kilowatt_hour
                • watt_hour
                • british_thermal_unit
                • british_thermal_unit_iso
                • british_thermal_unit59
                • therm
                • foot_pound
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/energy/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/energy/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.163Z",
                "created_at": "2023-03-19T18:23:55.163Z",
                "error": "ZfQdIH",
                "id": "6ad02c41-1eb5-4ab4-ade8-16ff20c839bb",
                "input": 7,
                "output": 15,
                "output_format": "therm",
                "src_format": "joule",
                "started_at": "2023-03-19T18:23:55.163Z",
                "status": "Queued",
                "updated_at": "2023-03-19T18:23:55.163Z",
                "user_id": "dCvkv7mpfc"
              }

              Convert force units   
              beta

              Convert a force unit value to another force unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • newton
                • pound
                • dyne
                • kilopond
                • poundal
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • newton
                • pound
                • dyne
                • kilopond
                • poundal
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of force unit formats.

                Possible values
                • newton
                • pound
                • dyne
                • kilopond
                • poundal
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of force unit formats.

                Possible values
                • newton
                • pound
                • dyne
                • kilopond
                • poundal
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/force/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/force/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.179Z",
                "created_at": "2023-03-19T18:23:55.179Z",
                "error": "",
                "id": "fc4753b9-8836-4bee-93ec-d31c785c2d5d",
                "input": 10,
                "output": 17,
                "output_format": "dyne",
                "src_format": "kilopond",
                "started_at": "2023-03-19T18:23:55.179Z",
                "status": "In Progress",
                "updated_at": "2023-03-19T18:23:55.179Z",
                "user_id": "py98"
              }

              Convert illuminance units   
              beta

              Convert a illuminance unit value to another illuminance unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • lux
                • footcandle
                • lumens_per_square_inch
                • phot
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • lux
                • footcandle
                • lumens_per_square_inch
                • phot
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of illuminance unit formats.

                Possible values
                • lux
                • footcandle
                • lumens_per_square_inch
                • phot
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of illuminance unit formats.

                Possible values
                • lux
                • footcandle
                • lumens_per_square_inch
                • phot
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/illuminance/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/illuminance/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.209Z",
                "created_at": "2023-03-19T18:23:55.209Z",
                "error": "EbSE0uAbOIeh5UZoZAWfJh0l6G0k",
                "id": "b578ab31-c175-4e06-8af9-6350af97104b",
                "input": 21,
                "output": 13,
                "output_format": "lux",
                "src_format": "footcandle",
                "started_at": "2023-03-19T18:23:55.209Z",
                "status": "Failed",
                "updated_at": "2023-03-19T18:23:55.209Z",
                "user_id": "ol4HxSFgR7iIXFsGn6EH"
              }

              Convert length units   
              beta

              Convert a length unit value to another length unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • meter
                • millimeter
                • centimeter
                • kilometer
                • foot
                • mil
                • inch
                • mile
                • nautical_mile
                • astronomical_unit
                • lightyear
                • parsec
                • angstrom
                • cubit
                • fathom
                • chain
                • furlong
                • hand
                • league
                • nautical_league
                • yard
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • meter
                • millimeter
                • centimeter
                • kilometer
                • foot
                • mil
                • inch
                • mile
                • nautical_mile
                • astronomical_unit
                • lightyear
                • parsec
                • angstrom
                • cubit
                • fathom
                • chain
                • furlong
                • hand
                • league
                • nautical_league
                • yard
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of length unit formats.

                Possible values
                • meter
                • millimeter
                • centimeter
                • kilometer
                • foot
                • mil
                • inch
                • mile
                • nautical_mile
                • astronomical_unit
                • lightyear
                • parsec
                • angstrom
                • cubit
                • fathom
                • chain
                • furlong
                • hand
                • league
                • nautical_league
                • yard
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of length unit formats.

                Possible values
                • meter
                • millimeter
                • centimeter
                • kilometer
                • foot
                • mil
                • inch
                • mile
                • nautical_mile
                • astronomical_unit
                • lightyear
                • parsec
                • angstrom
                • cubit
                • fathom
                • chain
                • furlong
                • hand
                • league
                • nautical_league
                • yard
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/length/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/length/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.250Z",
                "created_at": "2023-03-19T18:23:55.250Z",
                "error": "zRtqOa4",
                "id": "0517b5c8-374f-40a7-86be-b32fc46a2c11",
                "input": 23,
                "output": 13,
                "output_format": "cubit",
                "src_format": "cubit",
                "started_at": "2023-03-19T18:23:55.250Z",
                "status": "Completed",
                "updated_at": "2023-03-19T18:23:55.250Z",
                "user_id": "C4CqHAMVrEmPjA"
              }

              Convert magnetic field strength units   
              beta

              Convert a magnetic field strength unit value to another magnetic field strength unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • tesla
                • gauss
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • tesla
                • gauss
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of magnetic field strength unit formats.

                Possible values
                • tesla
                • gauss
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of magnetic field strength unit formats.

                Possible values
                • tesla
                • gauss
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/magnetic-field-strength/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/magnetic-field-strength/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.324Z",
                "created_at": "2023-03-19T18:23:55.324Z",
                "error": "8az5E7HzZLjl8OecZ5",
                "id": "47106961-d114-4c8f-a2cd-fe836043b79a",
                "input": 24,
                "output": 28,
                "output_format": "gauss",
                "src_format": "tesla",
                "started_at": "2023-03-19T18:23:55.324Z",
                "status": "In Progress",
                "updated_at": "2023-03-19T18:23:55.324Z",
                "user_id": "qdpYGaP0w"
              }

              Convert magnetic flux units   
              beta

              Convert a magnetic flux unit value to another magnetic flux unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • weber
                • maxwell
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • weber
                • maxwell
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of magnetic flux unit formats.

                Possible values
                • weber
                • maxwell
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of magnetic flux unit formats.

                Possible values
                • weber
                • maxwell
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/magnetic-flux/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/magnetic-flux/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.392Z",
                "created_at": "2023-03-19T18:23:55.392Z",
                "error": "9wDobf",
                "id": "8f87421f-2692-4fec-b7e9-864fdf860154",
                "input": 18,
                "output": 7,
                "output_format": "weber",
                "src_format": "maxwell",
                "started_at": "2023-03-19T18:23:55.392Z",
                "status": "Completed",
                "updated_at": "2023-03-19T18:23:55.392Z",
                "user_id": "dzifF09TbrEVOinkl"
              }

              Convert mass units   
              beta

              Convert a mass unit value to another mass unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • gram
                • kilogram
                • metric_ton
                • pound
                • long_ton
                • short_ton
                • stone
                • ounce
                • carat
                • slug
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • gram
                • kilogram
                • metric_ton
                • pound
                • long_ton
                • short_ton
                • stone
                • ounce
                • carat
                • slug
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of mass unit formats.

                Possible values
                • gram
                • kilogram
                • metric_ton
                • pound
                • long_ton
                • short_ton
                • stone
                • ounce
                • carat
                • slug
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of mass unit formats.

                Possible values
                • gram
                • kilogram
                • metric_ton
                • pound
                • long_ton
                • short_ton
                • stone
                • ounce
                • carat
                • slug
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/mass/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/mass/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.416Z",
                "created_at": "2023-03-19T18:23:55.416Z",
                "error": "MvCOFwqDmpvGYkEBwPwiXNe0qG",
                "id": "ab4b3171-1195-4731-a871-faac12e9bf61",
                "input": 19,
                "output": 26,
                "output_format": "metric_ton",
                "src_format": "long_ton",
                "started_at": "2023-03-19T18:23:55.416Z",
                "status": "Completed",
                "updated_at": "2023-03-19T18:23:55.416Z",
                "user_id": "OJetVmuz"
              }

              Convert metric cubed units   
              beta

              Convert a metric cubed unit value to another metric cubed unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • atto
                • femto
                • pico
                • nano
                • micro
                • milli
                • centi
                • deci
                • unit
                • deca
                • hecto
                • kilo
                • mega
                • giga
                • tera
                • peta
                • exa
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • atto
                • femto
                • pico
                • nano
                • micro
                • milli
                • centi
                • deci
                • unit
                • deca
                • hecto
                • kilo
                • mega
                • giga
                • tera
                • peta
                • exa
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of metric unit formats.

                Possible values
                • atto
                • femto
                • pico
                • nano
                • micro
                • milli
                • centi
                • deci
                • unit
                • deca
                • hecto
                • kilo
                • mega
                • giga
                • tera
                • peta
                • exa
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of metric unit formats.

                Possible values
                • atto
                • femto
                • pico
                • nano
                • micro
                • milli
                • centi
                • deci
                • unit
                • deca
                • hecto
                • kilo
                • mega
                • giga
                • tera
                • peta
                • exa
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/metric/cubed/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/metric/cubed/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.443Z",
                "created_at": "2023-03-19T18:23:55.443Z",
                "error": "l3mG0d",
                "id": "5828d4b2-92bd-4fee-babf-a1b5c92d6d50",
                "input": 16,
                "output": 21,
                "output_format": "femto",
                "src_format": "kilo",
                "started_at": "2023-03-19T18:23:55.443Z",
                "status": "Failed",
                "updated_at": "2023-03-19T18:23:55.443Z",
                "user_id": "aKnV3fqYvyJihRgaPK"
              }

              Convert metric units   
              beta

              Convert a metric unit value to another metric unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • atto
                • femto
                • pico
                • nano
                • micro
                • milli
                • centi
                • deci
                • unit
                • deca
                • hecto
                • kilo
                • mega
                • giga
                • tera
                • peta
                • exa
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • atto
                • femto
                • pico
                • nano
                • micro
                • milli
                • centi
                • deci
                • unit
                • deca
                • hecto
                • kilo
                • mega
                • giga
                • tera
                • peta
                • exa
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of metric unit formats.

                Possible values
                • atto
                • femto
                • pico
                • nano
                • micro
                • milli
                • centi
                • deci
                • unit
                • deca
                • hecto
                • kilo
                • mega
                • giga
                • tera
                • peta
                • exa
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of metric unit formats.

                Possible values
                • atto
                • femto
                • pico
                • nano
                • micro
                • milli
                • centi
                • deci
                • unit
                • deca
                • hecto
                • kilo
                • mega
                • giga
                • tera
                • peta
                • exa
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/metric/power/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/metric/power/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.464Z",
                "created_at": "2023-03-19T18:23:55.464Z",
                "error": "e6Bzx1XLPl4rDXmXdV69esR2EZ3x6",
                "id": "9e459a55-3b37-4278-88eb-2ec3a76d7f74",
                "input": 11,
                "output": 22,
                "output_format": "kilo",
                "src_format": "peta",
                "started_at": "2023-03-19T18:23:55.464Z",
                "status": "Failed",
                "updated_at": "2023-03-19T18:23:55.464Z",
                "user_id": "77glWW"
              }

              Convert metric squared units   
              beta

              Convert a metric squared unit value to another metric squared unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • atto
                • femto
                • pico
                • nano
                • micro
                • milli
                • centi
                • deci
                • unit
                • deca
                • hecto
                • kilo
                • mega
                • giga
                • tera
                • peta
                • exa
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • atto
                • femto
                • pico
                • nano
                • micro
                • milli
                • centi
                • deci
                • unit
                • deca
                • hecto
                • kilo
                • mega
                • giga
                • tera
                • peta
                • exa
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of metric unit formats.

                Possible values
                • atto
                • femto
                • pico
                • nano
                • micro
                • milli
                • centi
                • deci
                • unit
                • deca
                • hecto
                • kilo
                • mega
                • giga
                • tera
                • peta
                • exa
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of metric unit formats.

                Possible values
                • atto
                • femto
                • pico
                • nano
                • micro
                • milli
                • centi
                • deci
                • unit
                • deca
                • hecto
                • kilo
                • mega
                • giga
                • tera
                • peta
                • exa
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/metric/squared/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/metric/squared/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.492Z",
                "created_at": "2023-03-19T18:23:55.492Z",
                "error": "9UElYXT8Gz",
                "id": "4917fda8-aaae-4474-aa7f-44872f0b8424",
                "input": 16,
                "output": 3,
                "output_format": "hecto",
                "src_format": "hecto",
                "started_at": "2023-03-19T18:23:55.492Z",
                "status": "Uploaded",
                "updated_at": "2023-03-19T18:23:55.492Z",
                "user_id": "JiwlWEOo"
              }

              Convert power units   
              beta

              Convert a power unit value to another power unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • watt
                • horsepower
                • milliwatt
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • watt
                • horsepower
                • milliwatt
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of power unit formats.

                Possible values
                • watt
                • horsepower
                • milliwatt
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of power unit formats.

                Possible values
                • watt
                • horsepower
                • milliwatt
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/power/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/power/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.519Z",
                "created_at": "2023-03-19T18:23:55.519Z",
                "error": "S18FXLtYhbup3sW",
                "id": "0865f2f9-17e8-462b-84a5-2d8d63b44b40",
                "input": 11,
                "output": 25,
                "output_format": "watt",
                "src_format": "watt",
                "started_at": "2023-03-19T18:23:55.519Z",
                "status": "Completed",
                "updated_at": "2023-03-19T18:23:55.519Z",
                "user_id": "hhRVs3C4n5izJwrO"
              }

              Convert pressure units   
              beta

              Convert a pressure unit value to another pressure unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • pascal
                • bar
                • mbar
                • atmosphere
                • pounds_per_square_inch
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • pascal
                • bar
                • mbar
                • atmosphere
                • pounds_per_square_inch
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of pressure unit formats.

                Possible values
                • pascal
                • bar
                • mbar
                • atmosphere
                • pounds_per_square_inch
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of pressure unit formats.

                Possible values
                • pascal
                • bar
                • mbar
                • atmosphere
                • pounds_per_square_inch
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/pressure/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/pressure/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.545Z",
                "created_at": "2023-03-19T18:23:55.545Z",
                "error": "9AZTQYk",
                "id": "9ae0ce54-be65-418e-874e-8e0cfe9a1b5d",
                "input": 27,
                "output": 24,
                "output_format": "pounds_per_square_inch",
                "src_format": "pascal",
                "started_at": "2023-03-19T18:23:55.545Z",
                "status": "Queued",
                "updated_at": "2023-03-19T18:23:55.545Z",
                "user_id": "dno9lMsWEx84dKsz32Zcg0JNA"
              }

              Convert radiation units   
              beta

              Convert a radiation unit value to another radiation unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • gray
                • sievert
                • rad
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • gray
                • sievert
                • rad
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of radiation unit formats. These describe the radiation energy absorbed by a mass or material and/or how it affects the relative damage to the human body.

                Possible values
                • gray
                • sievert
                • rad
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of radiation unit formats. These describe the radiation energy absorbed by a mass or material and/or how it affects the relative damage to the human body.

                Possible values
                • gray
                • sievert
                • rad
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/radiation/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/radiation/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.566Z",
                "created_at": "2023-03-19T18:23:55.566Z",
                "error": "Kil8M53QosQ2lBhDV",
                "id": "a4ff0a92-0418-45f7-8ec5-1e98028841dd",
                "input": 30,
                "output": 30,
                "output_format": "gray",
                "src_format": "rad",
                "started_at": "2023-03-19T18:23:55.566Z",
                "status": "Uploaded",
                "updated_at": "2023-03-19T18:23:55.566Z",
                "user_id": "Tuok872jHjIeDZOTNmWDx"
              }

              Convert radioactivity units   
              beta

              Convert a radioactivity unit value to another radioactivity unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • becquerel
                • curie
                • rutherford
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • becquerel
                • curie
                • rutherford
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of radioactivity unit formats. These describe the amount of radiation emitted by a radioactive material.

                Possible values
                • becquerel
                • curie
                • rutherford
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of radioactivity unit formats. These describe the amount of radiation emitted by a radioactive material.

                Possible values
                • becquerel
                • curie
                • rutherford
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/radioactivity/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/radioactivity/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.586Z",
                "created_at": "2023-03-19T18:23:55.586Z",
                "error": "DooYYvdw3NAN1kcgXTiZuKy6fYHP24",
                "id": "d5680c4a-4144-4903-b5af-7494689cf5ca",
                "input": 27,
                "output": 26,
                "output_format": "rutherford",
                "src_format": "rutherford",
                "started_at": "2023-03-19T18:23:55.586Z",
                "status": "Completed",
                "updated_at": "2023-03-19T18:23:55.586Z",
                "user_id": "E00oAww8VSD"
              }

              Convert solid angle units   
              beta

              Convert a solid angle unit value to another solid angle unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • steradian
                • degree_squared
                • spat
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • steradian
                • degree_squared
                • spat
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of solid angle unit formats.

                Possible values
                • steradian
                • degree_squared
                • spat
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of solid angle unit formats.

                Possible values
                • steradian
                • degree_squared
                • spat
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/solid-angle/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/solid-angle/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.611Z",
                "created_at": "2023-03-19T18:23:55.611Z",
                "error": "mZPgYLaqqTpCmz6QRui6W51IK",
                "id": "a45edcd2-afe8-450a-8695-8f7ba4d71604",
                "input": 28,
                "output": 18,
                "output_format": "steradian",
                "src_format": "spat",
                "started_at": "2023-03-19T18:23:55.611Z",
                "status": "Failed",
                "updated_at": "2023-03-19T18:23:55.611Z",
                "user_id": "LDGTxfS7pLIcsHF0PS"
              }

              Convert temperature units   
              beta

              Convert a temperature unit value to another temperature unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • kelvin
                • celsius
                • fahrenheit
                • reaumur
                • rankine
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • kelvin
                • celsius
                • fahrenheit
                • reaumur
                • rankine
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of temperature unit formats.

                Possible values
                • kelvin
                • celsius
                • fahrenheit
                • reaumur
                • rankine
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of temperature unit formats.

                Possible values
                • kelvin
                • celsius
                • fahrenheit
                • reaumur
                • rankine
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/temperature/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/temperature/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.632Z",
                "created_at": "2023-03-19T18:23:55.632Z",
                "error": "zHxm",
                "id": "c8f5515f-0f87-4c56-a582-2c56fca84934",
                "input": 16,
                "output": 12,
                "output_format": "fahrenheit",
                "src_format": "celsius",
                "started_at": "2023-03-19T18:23:55.632Z",
                "status": "Failed",
                "updated_at": "2023-03-19T18:23:55.632Z",
                "user_id": "LxaBBadl253RGcjvWboZ"
              }

              Convert time units   
              beta

              Convert a time unit value to another time unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • second
                • minute
                • hour
                • day
                • week
                • year
                • julian_year
                • gregorian_year
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • second
                • minute
                • hour
                • day
                • week
                • year
                • julian_year
                • gregorian_year
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of time unit formats.

                Possible values
                • second
                • minute
                • hour
                • day
                • week
                • year
                • julian_year
                • gregorian_year
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of time unit formats.

                Possible values
                • second
                • minute
                • hour
                • day
                • week
                • year
                • julian_year
                • gregorian_year
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/time/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/time/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.657Z",
                "created_at": "2023-03-19T18:23:55.657Z",
                "error": "puKCK",
                "id": "662d9e93-ad16-48a9-8e11-c462b656b809",
                "input": 11,
                "output": 30,
                "output_format": "minute",
                "src_format": "day",
                "started_at": "2023-03-19T18:23:55.657Z",
                "status": "Uploaded",
                "updated_at": "2023-03-19T18:23:55.657Z",
                "user_id": "YrwumJtaoWmZs4z4DM"
              }

              Convert velocity units   
              beta

              Convert a velocity unit value to another velocity unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • meters_per_second
                • feet_per_second
                • miles_per_hour
                • kilometers_per_hour
                • knot
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • meters_per_second
                • feet_per_second
                • miles_per_hour
                • kilometers_per_hour
                • knot
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of velocity unit formats.

                Possible values
                • meters_per_second
                • feet_per_second
                • miles_per_hour
                • kilometers_per_hour
                • knot
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of velocity unit formats.

                Possible values
                • meters_per_second
                • feet_per_second
                • miles_per_hour
                • kilometers_per_hour
                • knot
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/velocity/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/velocity/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.676Z",
                "created_at": "2023-03-19T18:23:55.676Z",
                "error": "98ypX2vCAtJDgC8U",
                "id": "7deeb59a-8887-40cd-8aa6-afe6ab07f272",
                "input": 15,
                "output": 23,
                "output_format": "meters_per_second",
                "src_format": "miles_per_hour",
                "started_at": "2023-03-19T18:23:55.677Z",
                "status": "Completed",
                "updated_at": "2023-03-19T18:23:55.677Z",
                "user_id": "KOeY"
              }

              Convert voltage units   
              beta

              Convert a voltage unit value to another voltage unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • volt
                • statvolt
                • abvolt
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • volt
                • statvolt
                • abvolt
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of voltage unit formats.

                Possible values
                • volt
                • statvolt
                • abvolt
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of voltage unit formats.

                Possible values
                • volt
                • statvolt
                • abvolt
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/voltage/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/voltage/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.703Z",
                "created_at": "2023-03-19T18:23:55.703Z",
                "error": "Qffy5VXJyXVBodF4",
                "id": "7c8995e9-0bd6-4101-8ec8-12fa835902e0",
                "input": 18,
                "output": 1,
                "output_format": "statvolt",
                "src_format": "abvolt",
                "started_at": "2023-03-19T18:23:55.703Z",
                "status": "Uploaded",
                "updated_at": "2023-03-19T18:23:55.703Z",
                "user_id": "Wf2DWV2LMz8MKEEg9eTqE5co3ARx"
              }

              Convert volume units   
              beta

              Convert a volume unit value to another volume unit value. This is a nice endpoint to use for helper functions.

              Parameters

              • output_formatstringrequired

                The output format of the unit.

                Possible values
                • cubic_meter
                • cubic_centimeter
                • cubic_millimeter
                • cubic_kilometer
                • liter
                • cubic_inch
                • cubic_foot
                • cubic_yard
                • cubic_mile
                • gallon
                • quart
                • pint
                • cup
                • fluid_ounce
                • barrel
                • bushel
                • cord
                • cubic_fathom
                • tablespoon
                • teaspoon
                • pinch
                • dash
                • drop
                • fifth
                • dram
                • gill
                • peck
                • sack
                • shot
                • strike
              • src_formatstringrequired

                The source format of the unit.

                Possible values
                • cubic_meter
                • cubic_centimeter
                • cubic_millimeter
                • cubic_kilometer
                • liter
                • cubic_inch
                • cubic_foot
                • cubic_yard
                • cubic_mile
                • gallon
                • quart
                • pint
                • cup
                • fluid_ounce
                • barrel
                • bushel
                • cord
                • cubic_fathom
                • tablespoon
                • teaspoon
                • pinch
                • dash
                • drop
                • fifth
                • dram
                • gill
                • peck
                • sack
                • shot
                • strike
              • valuenumberrequired

                The initial value.

              Returns

              200 OK

              successful operation

              • completed_atstringISO-8601optional

                The time and date the API call was completed.

              • created_atstringISO-8601optional

                The time and date the API call was created.

              • errorstringoptional

                The error the function returned, if any.

              • idstringUUIDoptional

                The unique identifier of the API call.

                This is the same as the API call ID. A uuid.

                A Version 4 UUID is a universally unique identifier that is generated using random numbers.

              • inputnumberoptional

                The input value.

              • outputnumberoptional

                The resulting value.

              • output_formatstringoptional

                The output format of the unit conversion. The valid types of volume unit formats.

                Possible values
                • cubic_meter
                • cubic_centimeter
                • cubic_millimeter
                • cubic_kilometer
                • liter
                • cubic_inch
                • cubic_foot
                • cubic_yard
                • cubic_mile
                • gallon
                • quart
                • pint
                • cup
                • fluid_ounce
                • barrel
                • bushel
                • cord
                • cubic_fathom
                • tablespoon
                • teaspoon
                • pinch
                • dash
                • drop
                • fifth
                • dram
                • gill
                • peck
                • sack
                • shot
                • strike
              • src_formatstringoptional

                The source format of the unit conversion. The valid types of volume unit formats.

                Possible values
                • cubic_meter
                • cubic_centimeter
                • cubic_millimeter
                • cubic_kilometer
                • liter
                • cubic_inch
                • cubic_foot
                • cubic_yard
                • cubic_mile
                • gallon
                • quart
                • pint
                • cup
                • fluid_ounce
                • barrel
                • bushel
                • cord
                • cubic_fathom
                • tablespoon
                • teaspoon
                • pinch
                • dash
                • drop
                • fifth
                • dram
                • gill
                • peck
                • sack
                • shot
                • strike
              • started_atstringISO-8601optional

                The time and date the API call was started.

              • statusstringoptional

                The status of the API call. The status of an async API call.

                Possible values
                • Queued
                • Uploaded
                • In Progress
                • Completed
                • Failed
              • updated_atstringISO-8601optional

                The time and date the API call was last updated.

              • user_idstringoptional

                The user ID of the user who created the API call.

              GET/unit/conversion/volume/{src_format}/{output_format}
              $ curl "https://api.kittycad.io/unit/conversion/volume/{src_format}/{output_format}" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "completed_at": "2023-03-19T18:23:55.716Z",
                "created_at": "2023-03-19T18:23:55.716Z",
                "error": "D2gWKFYGPM46i9xQgxzYE048dqLUG",
                "id": "d27b61ed-ae3c-4813-9213-c23b2123d56b",
                "input": 27,
                "output": 5,
                "output_format": "cubic_centimeter",
                "src_format": "quart",
                "started_at": "2023-03-19T18:23:55.716Z",
                "status": "Failed",
                "updated_at": "2023-03-19T18:23:55.716Z",
                "user_id": "4wq2"
              }

              Users

              A user is someone who uses the KittyCAD API. Here, we can create, delete, and list users. We can also get information about a user. Operations will only be authorized if the user is requesting information about themselves.

              Delete your user

              This endpoint requires authentication by any KittyCAD user. It deletes the authenticated user from KittyCAD's database.

              This call will only succeed if all invoices associated with the user have been paid in full and there is no outstanding balance.

              Parameters

              No parameters

              Returns

              204 No Content

              successful deletion

              DELETE/user
              $ curl -X DELETE "https://api.kittycad.io/user" \
              	--header "Authorization: Bearer $TOKEN"

              Get your user

              Get the user information for the authenticated user.

              Alternatively, you can also use the /users/me endpoint.

              Parameters

              No parameters

              Returns

              200 OK

              successful operation

              • companystringoptional

                The user's company.

              • created_atstringISO-8601optional

                The date and time the user was created.

              • discordstringoptional

                The user's Discord handle.

              • emailstringEmail Addressoptional

                The email address of the user.

              • email_verifiedstringISO-8601optional

                The date and time the email address was verified.

              • first_namestringoptional

                The user's first name.

              • githubstringoptional

                The user's GitHub handle.

              • idstringoptional

                The unique identifier for the user.

              • imagestringURLoptional

                The image avatar for the user. This is a URL.

              • last_namestringoptional

                The user's last name.

              • namestringoptional

                The name of the user. This is auto populated at first from the authentication provider (if there was a name). It can be updated by the user by updating their first_name and last_name fields.

              • phonestringPhone Numberoptional

                The user's phone number.

              • updated_atstringISO-8601optional

                The date and time the user was last updated.

              GET/user
              $ curl "https://api.kittycad.io/user" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "company": "Nifw9NscLjuRw096m",
                "created_at": "2023-03-19T18:23:55.734Z",
                "discord": "dvFqpkzX94mpNLoN9JNUhRL",
                "email": "dR4@EKRWzOscl.com",
                "email_verified": "2023-03-19T18:23:55.734Z",
                "first_name": "mW2Iol0jlTn5DYD8oYRmwS",
                "github": "86g",
                "id": "",
                "image": "https://RD.92Vs6.com/iV41AZ/DI1OwBm",
                "last_name": "Ek6PJn",
                "name": "",
                "phone": "+1-471-876-3966",
                "updated_at": "2023-03-19T18:23:55.734Z"
              }

              Update your user

              This endpoint requires authentication by any KittyCAD user. It updates information about the authenticated user.

              Parameters

              • bodyapplication/jsonobjectoptional

                The user-modifiable parts of a User.

                Object
                • companystringoptional

                  The user's company.

                • discordstringoptional

                  The user's Discord handle.

                • first_namestringoptional

                  The user's first name.

                • githubstringoptional

                  The user's GitHub handle.

                • last_namestringoptional

                  The user's last name.

                • phonestringPhone Numberoptional

                  The user's phone number.

              Returns

              200 OK

              successful operation

              • companystringoptional

                The user's company.

              • created_atstringISO-8601optional

                The date and time the user was created.

              • discordstringoptional

                The user's Discord handle.

              • emailstringEmail Addressoptional

                The email address of the user.

              • email_verifiedstringISO-8601optional

                The date and time the email address was verified.

              • first_namestringoptional

                The user's first name.

              • githubstringoptional

                The user's GitHub handle.

              • idstringoptional

                The unique identifier for the user.

              • imagestringURLoptional

                The image avatar for the user. This is a URL.

              • last_namestringoptional

                The user's last name.

              • namestringoptional

                The name of the user. This is auto populated at first from the authentication provider (if there was a name). It can be updated by the user by updating their first_name and last_name fields.

              • phonestringPhone Numberoptional

                The user's phone number.

              • updated_atstringISO-8601optional

                The date and time the user was last updated.

              PUT/user
              $ curl -X PUT "https://api.kittycad.io/user" \
              	--header "Authorization: Bearer $TOKEN" \
              	--header "Content-Type: application/json" \
              	--data '{
                "company": "T7uHRTS84O03hD28XrNNH4bi2Gn",
                "discord": "vZT9r",
                "first_name": "8LrH77tUe90UK93CAWxu",
                "github": "CBOCcuLbI18B",
                "last_name": "Jdv2B1Q",
                "phone": "+1-449-266-4755"
              }'
              200 OK
              Response
              {
                "company": "08LcbdWWnhwDpHHCkC",
                "created_at": "2023-03-19T18:23:55.752Z",
                "discord": "iogpqEvPQoJzouVDgxUFi9",
                "email": "2O5gSK5@Fs1OoBFT.com",
                "email_verified": "2023-03-19T18:23:55.752Z",
                "first_name": "SrnAcorcKo4o63FSppoqHA2a6n4e3",
                "github": "c5P",
                "id": "wfq1u4qj",
                "image": "https://eVlsCnOx3.IgS2u.com/d/",
                "last_name": "NHJCihAqoCvMLFA",
                "name": "SRornSojHhVw",
                "phone": "+1-428-395-5468",
                "updated_at": "2023-03-19T18:23:55.752Z"
              }

              Get extended information about your user

              Get the user information for the authenticated user.

              Alternatively, you can also use the /users-extended/me endpoint.

              Parameters

              No parameters

              Returns

              200 OK

              successful operation

              • companystringoptional

                The user's company.

              • created_atstringISO-8601optional

                The date and time the user was created.

              • discordstringoptional

                The user's Discord handle.

              • emailstringEmail Addressoptional

                The email address of the user.

              • email_verifiedstringISO-8601optional

                The date and time the email address was verified.

              • first_namestringoptional

                The user's first name.

              • front_idstringoptional

                The user's Front ID. This is mostly used for internal mapping.

              • githubstringoptional

                The user's GitHub handle.

              • idstringoptional

                The unique identifier for the user.

              • imagestringURLoptional

                The image avatar for the user. This is a URL.

              • last_namestringoptional

                The user's last name.

              • mailchimp_idstringoptional

                The user's MailChimp ID. This is mostly used for internal mapping.

              • namestringoptional

                The name of the user. This is auto populated at first from the authentication provider (if there was a name). It can be updated by the user by updating their first_name and last_name fields.

              • phonestringPhone Numberoptional

                The user's phone number.

              • stripe_idstringoptional

                The user's Stripe ID. This is mostly used for internal mapping.

              • updated_atstringISO-8601optional

                The date and time the user was last updated.

              GET/user/extended
              $ curl "https://api.kittycad.io/user/extended" \
              	--header "Authorization: Bearer $TOKEN"
              200 OK
              Response
              {
                "company": "MdE",
                "created_at": "2023-03-19T18:23:55.772Z",
                "discord": "7FgEmjYikFncCzJ5qA9E",
                "email": "HOr@M74c4.com",
                "email_verified": "2023-03-19T18:23:55.772Z",
                "first_name": "keMYrNs",
                "front_id": "qZddPaQcWMJunGhzqnuQLW9FCe",
                "github": "Df4aWik5y5kB5",
                "id": "tQEqMY",
                "image": "https://uPRbHsGV.KgJfH8aF.com/Ew2Th4sNgvE/aGpvx",
                "last_name": "j4Fodif",
                "mailchimp_id": "JNzVIZPUgIqeaxj3QqqVWwb",
                "name": "EflCDG",
                "phone": "+1-720-221-6347",
                "stripe_id": "",
                "updated_at": "2023-03-19T18:23:55.772Z"
              }